Contents
Delete files not modified in n days
Useful for clearing out caches that aren't properly cleaned out otherwise.
# Delete files not modified in 30 days
find /path/to/files* -mtime +30 -exec rm {} \;
Contents
Useful for clearing out caches that aren't properly cleaned out otherwise.
# Delete files not modified in 30 days
find /path/to/files* -mtime +30 -exec rm {} \;