Find files that are older than X years using Linux

By | July 11, 2009

If you want to find out what files are older than – let’s say – ten years and still residing on your hard drive, do a

cd /
find . -mtime +3650

This will search for such files on all your Linux partition and display them in verbose mode at the end of the search. In this case, 3650 stands for the number of days to go back.

2 thoughts on “Find files that are older than X years using Linux

  1. Pingback: HowtoMatrix » Find files that are older than X years using Linux

  2. Pingback: Command lists files older than x « Linux & Stuff

Leave a Reply

Your email address will not be published. Required fields are marked *