newscacheclean man page

test — Purge the NewsCache to SpoolSize (newscache.conf parameter).

Synopsis

newscacheclean [-h] [-s] [-p] [--version] [-c config-file]

Description

The newscacheclean command purges the Cache from NewsCache to the SpoolSize parameter specified in the newscache.conf file. The program newscacheclean walks through the directory tree of SpoolDirectory (newscache.conf parameter) and adds every newsgroup db and every articel file into the purge list. Every outdated external article is also inserted. Then the purge list is sorted by access time. The purge removes first all outdated external articles and then one article or newsgroup database after the other until SpoolSize (newscache.conf parameter) is reached.

Options

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

-h, --help
Show summary of options.
-v, --version
Show version of program.
-c --configuration config-file
-s --statistic
Show statistic informations.
-p --print-purgetable
Print the sorted purge table.
-t --try
Try, not really removing files.

Files

/etc/newscache.conf
/usr/sbin/newscache
/usr/sbin/newscacheclean
/usr/sbin/newscacheclean
/usr/sbin/updatenews

See Also

newscache(8), updatenews(8), newscache.conf(5),

Authors

1997-2000 Thomas Gschwind <tom@infosys.tuwien.ac.at>
2001-2004 Herbert Straub <h.straub@aon.at>

Reporting Bugs

Report bugs to <newscache@linuxhacker.org>.

Referenced By

newscache(8), newscache.conf(5), updatenews(8).

June 2004