Find: Difference between revisions

From DWIKI
Tony (talk | contribs)
mNo edit summary
Tony (talk | contribs)
Line 4: Line 4:
==Find files newer than N days==
==Find files newer than N days==
  find /foo -mtime -N -type f
  find /foo -mtime -N -type f
or
find /foo -type -f -ctime -5


==Stop after first find==
==Stop after first find==

Revision as of 12:43, 19 August 2022

Find files

Cheatsheet

Find files newer than N days

find /foo -mtime -N -type f

or

find /foo -type -f -ctime -5

Stop after first find

find /too -print -quit