snexpire,v0.3.8(8) snexpire,v0.3.8(8)NAMEsnexpire - expire news under the sn system.
SYNOPSISsnexpire [-v] [-exp] newsgroup [[-exp] newsgroup]...
DESCRIPTIONsnexpire expires news in the sn news system, one article file (=10
articles, compile time default) at a time. snexpire always leaves
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/news to run snexpire.
OPTIONS-v Output a line for each article expired. The format of this line is
the same as for snscan.
ARGUMENTSsnexpire expires all newsgroups named on the command line. Each news‐
group may be preceded by -exp to control the expiration age. exp is of
the form #[hdwmy] where # is a number, followed by one of the charac‐
ters h,d,w,m,y 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 treat‐
ment unless overridden by another [-exp].
FILES MODIFIED
/var/spool/news/newsgroup/.times, /var/spool/news/news‐
group/[0123456789]*, /var/spool/news/{.chain,.table}.
ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of
/var/spool/news, the default news spool directory.
FILES
/var/spool/news/newsgroup/.expire
If this exists, its contents are taken to be exp if not overrid‐
den by -exp on the command line.
N.B. Harold Tay snexpire,v0.3.8(8)