Article View: news.software.notes
Article #133Re: nfarchive question
From: Bob Jewett
Date: Wed, 24 May 1989 21:59
Date: Wed, 24 May 1989 21:59
23 lines
1309 bytes
1309 bytes
> But now, suppose I would like
> to archive all notesfiles in this way, except one called "stuff".
One way is to have a file "specials" with all special groups in it, then do:
fgrep -vxf specials ~notes/Active | grep -v '^!!' > fortnightly
nfarchive -14 -d -f fortnightly
The -x option to fgrep requires a full-line match on patterns, so that
comp.stuff will not also be matched.
Instead, I maintain a master list of expiration times, and the weekly
cleanup script forms the weekly, fortnightly, monthly, monthly-save, and
never-touch lists for nfarchive from that list. The weekly script also
looks for groups in Active that are not yet in the master list, and
posts a nastygram to nfmaint.
> Sorry if this is not an appropriate place to be asking notes questions but
> I don't know of a better place.
hug.general (if you get it) gets more exposure within HP.
Bob Jewett
Technical Details
Message-ID:
<64460001@hpl-opus.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!jewettReferences:
<720001@mechp.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!jewett From: jewett@hpl-opus.HP.COM (Bob Jewett) Newsgroups: news.software.notes Subject: Re: nfarchive question Message-ID: <64460001@hpl-opus.HP.COM> Date: 24 May 89 21:59:29 GMT References: <720001@mechp.UUCP> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 23