Difference between revisions of "Find"
From The Linux Source
(Created page with "Cleanup/remove files older than 14 days # find /path/dir -daystart -mtime +14 -type f -delete Find/change dir perms (or execute a command based on find) # find /path/dir -t...") |
(No difference)
|
Latest revision as of 21:55, 9 May 2017
Cleanup/remove files older than 14 days
# find /path/dir -daystart -mtime +14 -type f -delete
Find/change dir perms (or execute a command based on find)
# find /path/dir -type d -exec chmod g+rxs '{}'\;