mtime in find vs ls
I am trying to identify old files for deleting or archiving. In this case more than six years old. So I try this:
$ find /mydir -follow -mtime +2190 -print > /tmp/2190.txt
When I read the output and change to one of the relevant directories I cannot find any files that are older than 6 years.
I have tried:
ls -lta which should should the modification time.
ls -ltac and ls -ltau see access time and ctime as well.
None of these dates are older than 6 years.
What am I missing?
|All times are GMT -5. The time now is 05:35 AM.|