cleartmp - selectively remove old files from a directory
cleartmp [-nv] directory idle
cleartmp removes files which have not been used in
over idle days, and finishes by removing any empty
directories.
-
-n
Just show what would be removed. (This doesn't
work for the directories).
-
-v
Mention every file as it's deleted.
cleartmp keeps logs of files deleted in
a subdirectory .logs.
% cleartmp -v $cwd 25
Of course, it's always dangerous to remove files.
cleartmp pays no attention to the times on directories,
always removing empty directories.
Daniel Quinlan
Table of Contents
Antelope Release 4.6 Linux 2.4.19-4GB 2004-06-24
Boulder Real Time Technologies, Inc
For more information, contact support@brtt.com