Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: How to find and delete files that are older than 7 days


Be careful executing  the following command.
Make certain you are in the directory that you want to be in and that you are deleting the appropriate files.

find . -type f -mtime +7 -delete