snexpire man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

snexpire,v0.3.8(8)					    snexpire,v0.3.8(8)

NAME
       snexpire - expire news under the sn system.

SYNOPSIS
       snexpire [-v] [-exp] newsgroup [[-exp] newsgroup]...

DESCRIPTION
       snexpire	 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.

ARGUMENTS
       snexpire 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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net