home *** CD-ROM | disk | FTP | other *** search
-
- NAME
- TrimNews
-
- SYNOPSIS
- TrimNews [-all] [-h hours] [-d]
-
- DESCRIPTION
- TRIMNEWS deletes news files that are older than N days, where N
- is specifiable on a per-newsgroup basis. The UULIB:NewsGroups
- containing acceptable news groups has a second field which optionally
- specifies the number of days old a message is allowed to get before
- it is deleted. Example:
-
- comp.sys.amiga.tech 10
-
- If the number is not specified, 7 is assumed. If the number is 0,
- then no messages in that newsgroup will ever be deleted by TrimNews.
-
- TRIMNEWS is normally run nightly from your crontab. The sample
- crontab has an entry for TRIMNEWS.
-
- The creation date of the news file is used to determine whether to
- delete it or not.
-
- The -all argument indicates that all news articles should be deleted
- regardless of age. The .next files are NOT deleted.
-
- The -h <hours> argument says that for entries where number of days
- is *not* specified, then apply <hours> hours instead.
-
- The -d argument causing extensive debugging information to be output.
-