Find: Difference between revisions

From DWIKI
mNo edit summary
 
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==

Latest revision as of 13: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