Difference between revisions of "Mtime"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://askubuntu.com/questions/589210/removing-files-older-than-7-days
 
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]] -- '{}' \;
  
  
Line 7: Line 7:
 
== See also ==
 
== See also ==
 
* {{find}}
 
* {{find}}
 +
* {{files}}

Revision as of 13:49, 26 April 2020

Advertising: