Delete all files older than a particular time

find *.png -mtime +5 -exec rm {} \;>
This delets all files older than 5 days

find *.png -mmin +60 -exec rm {} \;
This deletes all png files older than 60 minutes

Delete all files older than a particular time
Scroll to top