xref: /original-bsd/usr.bin/uucp/uuclean/uuclean.8 (revision c3e32dec)
1.\" Copyright (c) 1983, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)uuclean.8	8.1 (Berkeley) 06/06/93
7.\"
8.Dd
9.Dt UUCLEAN 8
10.Os BSD 4.2
11.Sh NAME
12.Nm uuclean
13.Nd uucp spool directory clean-up
14.Sh SYNOPSIS
15.Nm uuclean
16.Op Fl d Ns Ar subdirectory
17.Op Fl m
18.Op Fl n Ns Ar time
19.Op Fl p Ns Ar pre
20.Sh DESCRIPTION
21.Xr 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.Bl -tag -width Ds
28.It Fl d Ns Ar subdirectory
29Only the specified subdirectory will be cleaned.
30.It Fl m
31Send mail to the owner of the file
32when it is deleted.
33.It Fl n Ns Ar time
34Files whose age is more than
35.Ar time
36hours will be deleted if the prefix
37test is satisfied.
38(default time is 72 hours)
39.It Fl p Ns Ar pre
40Scan for files with
41.Ar pre
42as the file prefix.
43Up to 10
44.Fl p
45arguments may be specified.
46.El
47.Pp
48This program will typically be run daily by
49.Xr cron 8 .
50.Sh FILES
51.Bl -tag -width /var/spool/uucp
52.It Pa /var/spool/uucp
53Spool directory
54.El
55.Sh SEE ALSO
56.Xr uucp 1 ,
57.Xr uux 1 ,
58.Xr uucico 8
59.Sh HISTORY
60The
61.Nm
62command appeared in
63.Bx 4.2 .
64