Difference between revisions of "Mtime"

From wikieduonline
Jump to navigation Jump to search
(Created page with " find /path/to/ -type f -mtime +7 -name '*.gz' -execdir rm -- '{}' \; == See also == * {{find}}")
 
Line 1: Line 1:
 +
https://askubuntu.com/questions/589210/removing-files-older-than-7-days
 
  [[find]] /path/to/ -type f -mtime +7 -name '*.gz' -execdir rm -- '{}' \;
 
  [[find]] /path/to/ -type f -mtime +7 -name '*.gz' -execdir rm -- '{}' \;
  

Revision as of 13:49, 26 April 2020

https://askubuntu.com/questions/589210/removing-files-older-than-7-days

find /path/to/ -type f -mtime +7 -name '*.gz' -execdir rm -- '{}' \;



See also

Advertising: