Find: Difference between revisions
From DWIKI
Created page with "=Find files= =Cheatsheet= ==Find files newer than N days== find /foo -mtime -N -type f ==Stop after first find== find /too -print -quit" |
mNo edit summary Tag: wikieditor |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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== | ||
find /too -print -quit | find /too -print -quit | ||
==Find,xargs and spaces== | |||
find /path -print0 | xargs -0 chmod o+r | |||
[[Category:Find]] | |||
Latest revision as of 08:32, 15 October 2025
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
