Commit | Line | Data |
---|---|---|
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 |
23 | will scan the spool directory for files with the |
24 | specified prefix and delete all those which are | |
25 | older than the specified number of hours. | |
b42074ab | 26 | .Pp |
638f9b6d | 27 | The following options are available. |
b42074ab CL |
28 | .Bl -tag -width Ds |
29 | .It Fl d Ns Ar subdirectory | |
30 | Only the specified subdirectory will be cleaned. | |
31 | .It Fl m | |
32 | Send mail to the owner of the file | |
33 | when it is deleted. | |
34 | .It Fl n Ns Ar time | |
638f9b6d | 35 | Files whose age is more than |
b42074ab | 36 | .Ar time |
638f9b6d KM |
37 | hours will be deleted if the prefix |
38 | test is satisfied. | |
39 | (default time is 72 hours) | |
b42074ab CL |
40 | .It Fl p Ns Ar pre |
41 | Scan for files with | |
42 | .Ar pre | |
43 | as the file prefix. | |
44 | Up to 10 | |
45 | .Fl p | |
46 | arguments may be specified. | |
47 | .El | |
48 | .Pp | |
5f25fb9e | 49 | This 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 | 54 | Spool directory |
b42074ab CL |
55 | .El |
56 | .Sh SEE ALSO | |
57 | .Xr uucp 1 , | |
58 | .Xr uux 1 , | |
59 | .Xr uucico 8 | |
60 | .Sh HISTORY | |
61 | The | |
62 | .Nm | |
63 | command appeared in | |
64 | .Bx 4.2 . |