Remove files older than 3 days


Run the below in the directory of choice to remove files + 3 days.

 

find . -mtime +3 -exec rm -rf {} \;
Advertisements