
我在谷歌中找不到有關此選項的任何文件。我假設它會查找在 x 天內創建的文件?但如果有快速而準確的定義,我們將不勝感激。
答案1
從find
手冊中:
-mtime n
File's data was last modified n*24 hours ago. See the comments for
-atime to understand how rounding affects the interpretation of
file modification times.
也可以看看為什麼 find -mtime +1 只回傳 2 天之前的檔案?有關舍入行為的解釋。