在 linux 中,使用 bash,查找一个多小时前但不到 3 天前修改的文件的最简单方法是什么?
当然,必须有一种简单的方法来做到这一点。我一直在搜索,但找不到简单的解决方案。
最佳答案
查找有 -mtime 和 -mmin:
find . -mtime +3 -mmin -60
来自查找手册:
Numeric arguments can be specified as:
+n for greater than n
-n for less than n
n for exactly n
关于linux - 查找 1 小时前但不到 3 天修改的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32922557/