Delete Old Folders
From KlavoWiki
Jump to navigationJump to search
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 {} \;
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 {} \;