Find

From DWIKI
Revision as of 08:32, 15 October 2025 by Tony (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Find,xargs and spaces

find /path -print0 | xargs -0 chmod o+r