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
このオプションを使用して1日の開始(00:00)を示さない限り、時間オフセットは現在に基づいています。