How can I find files in Linux that were not accessed for X days?
I found that command, but it will show files that were viewed for the last x days:
$ find /home/you -iname "*.pdf" -atime -60 -type -f
Advertisement
Answer
Use -atime +60
to see files that have not been accessed within the last 60 days:
find /home/you -iname "*.pdf" -atime +60 -type f