home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / dumpgrp.zip / expire.doc < prev    next >
Text File  |  1993-09-07  |  2KB  |  39 lines

  1. Expire 0.1
  2.  
  3. This is a utility for use with DumpGrp to discard messages older than a 
  4. given age. An example of it's use is given in GETTER.CMD.
  5.  
  6. N.B.: for this utility to function properly, the -r (receive header) 
  7. option must be passed to DumpGrp.
  8.  
  9. The usage is:
  10.  
  11.     EXPIRE [-snn] [-l<separator>] [-d] <infile> <outfile>
  12.             -snn specifies article lifespan in days, default = 5
  13.             <separator> is the line that divides articles, as in 
  14.                         DumpGrp. The default is a line of asterisks.
  15.             -d enables debug output.
  16.  
  17.  
  18. For example, consider the following two commands:
  19.  
  20.     DUMPGRP -snntp.bogus.com -a -r -l---MY-MESSAGE-SEPARATOR-LINE---
  21.     EXPIRE -d -s10 -l---MY-MESSAGE-SEPARATOR-LINE--- cbos2 cbos2.exp
  22.  
  23. with the following in DUMPGRP.CFG:
  24.     comp.binaries.os2 cbos2 0
  25.  
  26. After running this set of commands regularly for several days, the file
  27. CBOS2 will contain all the messages that have come over the 
  28. comp.binaries.os2 newsgroup. The file cbos2.exp, however, will only 
  29. contain those messages which were received within the last ten days. 
  30. Note that the -r para,eter must be passed to DumpGrp, and that DumpGrp 
  31. and EXPIRE must have the same -l parameter in order to work properly.
  32.  
  33. This utility is Copyright 1993 by Kevin Vigor, but is free and may be
  34. freely distributed.
  35.  
  36. Report any errors to kevin@elvis.wicat.com or 72500.3705@compuserve.com. 
  37. The latest version of this and related utilities is available via 
  38. anonymous ftp from elvis.wicat.com.
  39.