查找最近10分钟内被修改的文件


9

我正在运行此命令以查找最近10分钟内已修改的文件

 find / -fstype local -mtime -10m

但是它每次都会给出以下错误

find: missing argument to `-mtime'

上面有什么问题?

Answers:



3

使用mmin代替仅持续数小时的mtime。

$ find / -fstype local -mmin -10

2

Gnu find似乎想要-mtime参数作为天

Files  data was last modified n*24 hours ago.

参见-mmin

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.