Path: utzoo!utstat!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!ucivax!ucla-cs!ucla-seas!babbage.seas.ucla.edu From: heather@babbage.seas.ucla.edu (Heather Burris/) Newsgroups: news.software.nntp Subject: expire enhancements Message-ID: <948@lee.SEAS.UCLA.EDU> Date: 1 Aug 90 17:05:26 GMT Sender: news@SEAS.UCLA.EDU Organization: SEASnet, University of California, Los Angeles Lines: 19 Have any of you enhanced expire to accept different expiration periods for different news categories on the same command line? I would like to do (something like) the following: expire -n junk control -e 1 -n alt talk -e 14 -n -e 21 A cursory look at the source code indicates that a list of structures mapping news category/group to expiration period would have to be crafted in to implement such a thing. I think the work involved in doing so would be well warrented, considering that running multiple expires back-to-back takes an exceedingly long amount of time. It appears to me that rebuilding the history file is a large part of the time. If no one has implemented this yet, I'll plan to get to it soon, but I thought I'd check before reinventing the wheel. Also, if anyone has an opinion on whether it is or isn't a good idea, let me know. Heather Burris Operations Manager, SEASnet, UCLA