Find and remove files older than 30 days

find /folder -type f -mtime +30 -exec rm -rf {} \;

Author: WladyX on 26 January, 2012
Category: Scripts

Leave a Reply

Last articles