one-liner cron entry to remove files downloaded more than 30 days ago

13 Mar 2009

Posted by acrollet

0 10 * * * /usr/bin/find ~/Downloads -ctime +30 -print0|xargs -0 rm -rf

I assume no liability for any unintended results! ;)

Add new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.