| 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) %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 |
| 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. |
| 26 | .Pp |
| 27 | The following options are available. |
| 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 |
| 35 | Files whose age is more than |
| 36 | .Ar time |
| 37 | hours will be deleted if the prefix |
| 38 | test is satisfied. |
| 39 | (default time is 72 hours) |
| 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 |
| 49 | This 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 |
| 54 | Spool directory |
| 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 . |