Feb 01, 2007

tmpwatch

ポスト @ 18:45:42 | Vine4.x,linux

一定期間アクセスのないファイルを削除する。

360 時間(15日間)アクセスのないファイルを削除する。

tmpwatch 360 /home/sambausers/*/.trach/

オプション
--test, --test
Doesn't remove files, but goes through the motions of removing them. This implies -v.
-v, --verbose
Print a verbose display. Two levels of verboseness are available -- use this option twice to get the most verbose output.


Samba ごみ箱の中身を定期的に削除する@@IT
/tmp/ディレクトリ下のファイルはいつ削除される?@ITmedia エンタープライズ


怖いコマンドだ…。

Trackback

No Trackbacks

Track from Your Website

http://www.gimmix.org/max/trackback/tb.php?id=200
(言及リンクのないトラックバックは無視されます)

Comment

No Comments

Post Your Comment


*は入力必須です。E-Mailは公開されません。