Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP Path: utzoo!lsuc!dave From: dave@lsuc.UUCP (David Sherman) Newsgroups: net.news.b Subject: Re: Inews vs. df Message-ID: <1299@lsuc.UUCP> Date: Sun, 27-Jul-86 20:17:02 EDT Article-I.D.: lsuc.1299 Posted: Sun Jul 27 20:17:02 1986 Date-Received: Sun, 27-Jul-86 21:22:25 EDT References: <2400@phri.UUCP> Reply-To: dave@lsuc.UUCP (David Sherman) Organization: Law Society of Upper Canada, Toronto Lines: 25 Summary: alternative to expire In article <2400@phri.UUCP> roy@phri.UUCP (Roy Smith) writes: > > What >this really means is that expire doesn't find old articles, so they never >get removed... Aside from keeping /usr/spool on a separate file system from /usr/lib, you might consider a simple alternative to expire: find(1). I've given up on expire, both because it's slow and because it's unreliable (if anything happens to the history file). Much simpler, and with few harmful side-effects, is find /usr/spool/news/net -mtime +15 -type f -exec rm {} ';' with whatever modifications for directory name and expiry time you like. The only significant side-effect is that articles with explicit long expiry dates will be lost anyway. No big deal, in my opinion. A less-significant effect is that, under certain circumstances, rn will give you "Skipping unavailable article" messages due to the active file being out of sync with the real world. Dave Sherman The Law Society of Upper Canada Toronto -- { ihnp4!utzoo seismo!mnetor utzoo hcr decvax!utcsri } !lsuc!dave