initialize Rmtname in case of early error
[unix-history] / usr / src / usr.bin / uucp / uuclean / uuclean.8
CommitLineData
638f9b6d
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5f25fb9e 5.\" @(#)uuclean.8 6.3 (Berkeley) %G%
638f9b6d 6.\"
7bc716b2 7.TH UUCLEAN 8C ""
638f9b6d
KM
8.UC 5
9.SH NAME
10uuclean \- uucp spool directory clean-up
11.SH SYNOPSIS
5f25fb9e
KM
12.B /usr/lib/uucp/uuclean
13[
14.B -m
15] [
16.BI -n time
17] [
18.BI -p pre
19]
638f9b6d
KM
20.SH DESCRIPTION
21.I Uuclean
22will scan the spool directory for files with the
23specified prefix and delete all those which are
24older than the specified number of hours.
25.PP
26The following options are available.
27.TP 8
28.BI \-p pre
29Scan for files with
30.I pre
31as the file prefix.
32Up to 10
33.B \-p
34arguments may be specified.
638f9b6d
KM
35.TP
36.BI \-n time
37Files whose age is more than
38.I time
39hours will be deleted if the prefix
40test is satisfied.
41(default time is 72 hours)
42.TP 8
43.B \-m
44Send mail to the owner of the file
45when it is deleted.
5f25fb9e
KM
46.TP
47.BI \-d subdirectory
48Only the specified subdirectory will be cleaned.
638f9b6d 49.PP
5f25fb9e 50This program will typically be run daily by
638f9b6d
KM
51.IR cron (8).
52.SH FILES
53.TP 22
e5a7d067 54/usr/spool/uucp
5f25fb9e 55Spool directory
638f9b6d 56.SH SEE ALSO
5f25fb9e 57uucp(1C), uux(1C), uucico(8C)