Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Linux 中找到X 天未访问的文件?
我找到了该命令,但它会显示过去 x 天查看的文件:
$ find /home/you -iname "*.pdf" -atime -60 -type -f
用于-atime +60查看过去 60 天内未访问的文件:
-atime +60
find /home/you -iname "*.pdf" -atime +60 -type f