当我尝试引用 find 命令的手册页时,我遇到了
-mmin n
The value of n can be one of the following:
n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
n.
-n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
less than n.
+n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 60 seconds (with any remainder discarded), is
greater than n (in case of UNIX03, greater than n+1).
Note: Files modified after the find command start time will not be taken into account. However, when the find command is used within the unary NOT
operator for non-UNIX03 behavior, the files modified after the command start time will be displayed until the value of n.
-mtime n
The value of n can be one of the following:
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.
-n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400 seconds (with any remainder discarded),
is less than n.
+n
Evaluates as True if the file modification time subtracted from the initialization time, divided by 86400 seconds (with any remainder discarded),
这个初始化时间是多少?这是调用 find 命令的时间吗?
答案1
答案2
时间偏移与现在相关,除非您使用该选项来表示当天的开始 (00:00)