tmpwatch では単位として
- 秒 (
m
) - 時間 (
h
) - 日 (
d
)
が指定できる。
単位指定なしの場合は時間 ( h
) 指定となる。
出典
tmpwatch(8) - Linux man page より
The time parameter defines the threshold for removing files.
If the file has not been accessed for time, the file is removed.
The time argument is a number with an optional single-character suffix specifying the units: m for minutes, h for hours, d for days.
If no suffix is specified, time is in hours.
指定例
以下はすべて同義。
単位指定なし (時間)
tmpwatch 24
時間指定
tmpwatch 24h
秒指定
tmpwatch 1440m
日指定
tmpwatch 1d
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。