Cleanup Downloads Once a Week

Here’s an easy way to keep your Downloads folder clean, just paste these this into your cron file (with the appropriate scheduling):

find ~/Downloads -type f -maxdepth 1 -mtime +7 -exec rm {} \;
find ~/Downloads -type d -maxdepth 1 -mtime +7 -exec rm -r {} \;

Here’s the gist:

I use Cronnix to manage and edit cron jobs on my Mac.