uuclean(8c)
NAME
uuclean − uucp spool directory clean-up
SYNTAX
uuclean −p[pre] [ options ... ]
DESCRIPTION
The uuclean command scans the spool directory for files with the specified prefix and deletes all those which are older than the specified number of hours.
The −ppre argument causes the uuclean command to scan for files with pre as the file prefix. You can specify up to 10 −p arguments. A −p without any pre following causes all files older than the specified time to be deleted. You must specify at least one −p argument.
OPTIONS
−ntime Delete all files whose age is more than time, in hours, (default is 72 hours) and that have the specified pre as their file prefix.
−m Send mail to the owner of the file when it is deleted.
−ssystem Delete files in all directories that are subdirectories of the per system spool directory that exists for system. If ALL is specified, then all system directories are processed. All is the default.
−ddirectory Delete files that reside in the named directory. The default directory is /usr/spool/uucp. The −s option over rides the −d option.
The cron command typically starts the uuclean program. In earlier versions, a deleted work file (C.file) would result in mail to the owner of the work file, regardless of the −m option. Now, notification of deleted work files is sent to the user ID "uucp". If the −m option is used, mail is also sent to the owner.
EXAMPLES
Here are some example uuclean command lines:
# uuclean −pLTMP. −pLOG. −n4 −d/usr/spool/uucp
# uuclean −d/usr/spool/uucp/.XQTDIR −p −n
# uuclean −smarkie −p −n84
The third example deletes all uucp files for the system markie that are older than 84 hours.
FILES
/usr/lib/uucp directory with commands used by uuclean internally
SEE ALSO
Maintenance