简体   繁体   English

如何找到未经修改的linux文件

[英]how to find unmodified files linux

I can find the files in a directory which changed the last 4 minutes with the command: 我可以使用以下命令在目录中找到更改过去4分钟的文件:

find ~ -type f -mmin -4

how could I find the files which have not changed the last X minutes? 我怎么能找到没有改变最后X分钟的文件?

thanks. 谢谢。

find ~ -type f -mmin +4

甜蜜,不是吗?

With ! 随着! , which may need escaping in your shell. ,可能需要在shell中转义。

find ~ -type f \! -mmin -4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM