xref: /original-bsd/usr.bin/uucp/uuclean/uuclean.8 (revision f8013ff8)
1.\" Copyright (c) 1983, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)uuclean.8	6.6 (Berkeley) 03/16/91
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
23will scan the spool directory for files with the
24specified prefix and delete all those which are
25older than the specified number of hours.
26.Pp
27The following options are available.
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
35Files whose age is more than
36.Ar time
37hours will be deleted if the prefix
38test is satisfied.
39(default time is 72 hours)
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
49This program will typically be run daily by
50.Xr cron 8 .
51.Sh FILES
52.Bl -tag -width /var/spool/uucp
53.It Pa /var/spool/uucp
54Spool directory
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 .
65