Unix and Linux Discussions Tagged with shellscripting |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
4,181 |
Shell Programming and Scripting |
|
|
|
1 |
1,173 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,314 |
Shell Programming and Scripting |
|
|
|
3 |
1,509 |
Shell Programming and Scripting |
|
|
|
8 |
2,089 |
Shell Programming and Scripting |
|
|
|
15 |
3,010 |
Shell Programming and Scripting |
|
|
|
3 |
786 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
7,288 |
Shell Programming and Scripting |
|
|
|
1 |
2,970 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,988 |
Shell Programming and Scripting |
|
|
|
6 |
2,071 |
Shell Programming and Scripting |
|
|
|
2 |
1,279 |
Shell Programming and Scripting |
|
|
|
2 |
1,136 |
Shell Programming and Scripting |
|
|
|
3 |
72,013 |
Shell Programming and Scripting |
|
|
|
4 |
3,084 |
Shell Programming and Scripting |
|
|
|
4 |
5,838 |
Shell Programming and Scripting |
|
|
|
4 |
35,969 |
Shell Programming and Scripting |
|
|
|
2 |
5,293 |
Shell Programming and Scripting |
|
|
|
4 |
3,927 |
Shell Programming and Scripting |
|
|
|
3 |
2,658 |
Shell Programming and Scripting |
|
|
|
2 |
3,511 |
Shell Programming and Scripting |
|
|
|
3 |
20,954 |
Shell Programming and Scripting |
|
|
|
2 |
1,791 |
Shell Programming and Scripting |
|
|
|
1 |
2,567 |
Shell Programming and Scripting |
|
|
|
5 |
1,876 |
Shell Programming and Scripting |
uuclean(8c) uuclean(8c)
Name
uuclean - uucp spool directory clean-up
Syntax
uuclean -p[pre] [ options ... ]
Description
The command scans the spool directory for files with the specified prefix and deletes all those which are older than the specified number
of hours.
The -ppre argument causes the command to scan for files with pre as the file prefix. You can specify up to 10 arguments. A without any
pre following causes all files older than the specified time to be deleted. You must specify at least one argument.
Options
-ntime Delete all files whose age is more than time, in hours, (default is 72 hours) and that have the specified pre as their file
prefix.
-m Send mail to the owner of the file when it is deleted.
-ssystem Delete files in all directories that are subdirectories of the per system spool directory that exists for system. If ALL is
specified, then all system directories are processed. ALL is the default.
-ddirectory Delete files that reside in the named directory. The default directory is The option over rides the option.
The command typically starts the program. In earlier versions, a deleted work file (C.file) would result in mail to the owner of the work
file, regardless of the option. Now, notification of deleted work files is sent to the user ID "uucp". If the option is used, mail is
also sent to the owner.
Examples
Here are some example command lines:
# uuclean -pLTMP. -pLOG. -n4 -d/usr/spool/uucp
# uuclean -d/usr/spool/uucp/.XQTDIR -p -n
# uuclean -smarkie -p -n84
The third example deletes all files for the system that are older than 84 hours.
Files
Directory with commands used by uuclean internally
See Also
uucp(1c), uux(1c), cron(8)
uuclean(8c)