Deleting all files over a certain age on a Linux server
May 4th
To delete files on a Linux server that are all over 3 days old, use this:
find /log/ -type f -mtime -3 -exec rm {} \;
This command will find all files in /log over 3 days old and will run the rm command for each of them.
