snexpire - expire news under the sn
expires news in the sn
news system, one article file (=10
articles, compile time default) at a time. snexpire
behind at least one article file, so that newly entered articles will have
numbers not overlapping previously used numbers. As an exception if the
expiration age is set to 0, then even this last file will be expired and
subsequent article numbers will start from the beginning. You will need to be
root or own /var/spool/sn to run snexpire
- Output a line for each article expired. The format of this
line is the same as for snscan.
expires all newsgroup
s named on the command line. Each
newsgroup may be preceded by -exp
to control the expiration age.
is of the form #
] where #
is a number,
followed by one of the characters h
representing hours, days, weeks, months and years. The default for -exp
is a compile-time fixed. Each [-exp
] applies to the next newsgroup
only, any newsgroups after that one get default treatment unless overridden by
- If this is set and is not empty, the value is used in place
of /var/spool/sn, the default news spool directory.
- If this exists, its contents are taken to be exp if
not overridden by -exp on the command line.