macro and text revision (-mdoc version 3)
[unix-history] / usr / src / usr.bin / uucp / uuclean / uuclean.8
CommitLineData
b42074ab
CL
1.\" Copyright (c) 1983, 1991 Regents of the University of California.
2.\" All rights reserved.
638f9b6d 3.\"
b42074ab 4.\" %sccs.include.redist.man%
638f9b6d 5.\"
b42074ab
CL
6.\" @(#)uuclean.8 6.6 (Berkeley) %G%
7.\"
8.Dd
9.Dt UUCLEAN 8
10.Os BSD 4.2
11.Sh NAME
12.Nm uuclean
13.Nd uucp spool directory clean
14.Ndup
15.Sh SYNOPSIS
16.Nm uuclean
17.Op Fl d Ns Ar subdirectory
18.Op Fl m
19.Op Fl n Ns Ar time
20.Op Fl p Ns Ar pre
21.Sh DESCRIPTION
22.Xr Uuclean
638f9b6d
KM
23will scan the spool directory for files with the
24specified prefix and delete all those which are
25older than the specified number of hours.
b42074ab 26.Pp
638f9b6d 27The following options are available.
b42074ab
CL
28.Bl -tag -width Ds
29.It Fl d Ns Ar subdirectory
30Only the specified subdirectory will be cleaned.
31.It Fl m
32Send mail to the owner of the file
33when it is deleted.
34.It Fl n Ns Ar time
638f9b6d 35Files whose age is more than
b42074ab 36.Ar time
638f9b6d
KM
37hours will be deleted if the prefix
38test is satisfied.
39(default time is 72 hours)
b42074ab
CL
40.It Fl p Ns Ar pre
41Scan for files with
42.Ar pre
43as the file prefix.
44Up to 10
45.Fl p
46arguments may be specified.
47.El
48.Pp
5f25fb9e 49This program will typically be run daily by
b42074ab
CL
50.Xr cron 8 .
51.Sh FILES
52.Bl -tag -width /var/spool/uucp
53.It Pa /var/spool/uucp
5f25fb9e 54Spool directory
b42074ab
CL
55.El
56.Sh SEE ALSO
57.Xr uucp 1 ,
58.Xr uux 1 ,
59.Xr uucico 8
60.Sh HISTORY
61The
62.Nm
63command appeared in
64.Bx 4.2 .