Skip to content
Advertisement

search for files not accessed for x days

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:

JavaScript

Advertisement

Answer

Use -atime +60 to see files that have not been accessed within the last 60 days:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement