Delete Old Folders: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
New page: To remove folders and thier contents older than x days. Replace +7 with the number of +days required. <pre> find /vmbackups/ -mtime +7 -exec rm -rf {} \; </pre> Category : Linux
 
 
(No difference)

Latest revision as of 05:55, 15 December 2008

To remove folders and thier contents older than x days. Replace +7 with the number of +days required.

find /vmbackups/ -mtime +7 -exec rm -rf {} \;