Skip navigation

As a general rule, file systems degrade in performance as they become populated. This especially holds true for random reads within a single directory. I like to call this, The Irrevocable Solution. Delete all files within a directory older than 1 day.

Within the target directory:

sudo find . -type f -mtime +1 -exec rm -f {} +