Removing files older than 7 days

find ./ -type f -mtime +7 -exec rm -f {} \;

http://www.unix.com/unix-dummies-questions-answers/37258-removing-files-older-than-7-days.html

Author: WladyX on 9 December, 2009
Category: General, Scripts

Leave a Reply

Last articles