3 cleantmp \- clean out a tmp dir
6 .RB [ \-d "[\fIlevel\fR]]"
10 .RI [ directory " ...]"
13 removes all files in each of the given directories and their subdirectories
14 that have not been accessed for at least
16 days. Empty subdirectories are removed if their modified times are more
21 looks at days as humans do, i.e. they last from midnight to midnight.
24 removes all files that were not touched after midnight last night. This may
25 be very helpful, because in many cases that big file that clogs up
27 was created yesterday, but less than 24 hours ago.
29 The 'days' flag may be replaced by
33 to remove all files in the directory no matter what age. Specifying zero
34 days doesn't work, because it is assumed to be a mistake.
37 knows that files and directories that have a name starting with a '.' are
38 special and will not delete them or files within them if they are not at
42 .BR \-d "[\fIlevel\fR]]"
43 Set the debug level to
45 (by default 1). Normally only errors are reported. Debug level 1 lists the
46 actions taken on standard error, level 2 also prints the file times used,
49 playact, i.e. nothing is really removed.
54 options name files to be ignored. Files are not removed if they are in the
55 list of ignored files by either a directory entry match, or a full pathname
56 match. This option is useful to keep things like named pipes that some
57 longlived programs foolishly put in temporary directories.
61 Don't use '\fBcleantmp -1\fP' shortly after midnight.
63 It would be nice if one could delete files that are, say, 2 hours old.
65 Kees J. Bot (kjb@cs.vu.nl)