- 论坛徽章:
- 0
|
其实是精确到秒的,不是精确到天:
-mtime n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400
seconds (with any remainder discarded), is n. 86400 seconds is 24 hours. Note: The definition of -mtime has
changed to comply with the Single UNIX Specification, Version 3. The previous behavior of -mtime evaluated as
True if the file had been modified in n-1 to n multiples of 24 hours. By default, find -mtime works like it did
prior to UNIX03. The UNIX03 behavior can be obtained by setting the environment variables XPG_SUS_ENV to ON and
XPG_UNIX98 to OFF. |
|