指定時間毎に自動的に行って、指定パス配下の固定時間前のファイルを削除するコメント
例:60秒毎に自動的に行って、「/home/log/」配下の2時間前に出力されたファイルを削除する用コメント
watch -n 60 tmpwatch -m 2 /home/log/
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
01