查找当前目录下.sh文件中,最近30分钟内修改过的文件。

find . -name '*.sh' -type f -mmin -30
查找当前目录下.phtml文件中,最近30分钟内修改过的文件,的详细情况。

find . -name '*.sh' -type f -mmin -30 -ls
查找当前目录下,最近1天内修改过的常规文件。

find . -type f -mtime -1
查找当前目录下,最近1天前(2天内)修改过的常规文件。

find . -type f -mtime +1

转自:http://blog.csdn.net/jzd1997/article/details/7270182

相关文章:

  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-04-04
猜你喜欢
  • 2022-01-07
  • 2021-06-13
  • 2021-11-03
  • 2021-11-28
  • 2021-12-01
相关资源
相似解决方案