grep -nr -C 3 df2pg ~/projects
n = show subject line
r = recursive so goes into subfolders as well
-C 3 = surrounding lines (think of it as Context)
grep -nr -C 3 df2pg ~/projects
n = show subject line
r = recursive so goes into subfolders as well
-C 3 = surrounding lines (think of it as Context)
find ~/Documents -name *.odg -printf "%TY-%Tm-%Td %-90p\n" 2>/dev/null | sort%-90p shows filename taking up 90 characters and then the next field (if wider shows whole thing)
%TY-%Tm-%Td = Y-m-d e.g. 2023-10-30