Xref: utzoo news.misc:1156 comp.sources.wanted:3000 Path: utzoo!mnetor!uunet!steinmetz!vdsvax!barnett From: barnett@vdsvax.steinmetz.ge.com (Bruce G. Barnett) Newsgroups: news.misc,comp.sources.wanted Subject: Re: trying to automaticly archive news (indexing) Message-ID: <3539@vdsvax.steinmetz.ge.com> Date: 11 Jan 88 22:24:03 GMT References: <236@stc-auts.UUCP> Reply-To: barnett@ge-crd.arpa (Bruce G. Barnett) Distribution: na Organization: General Electric CRD, Schenectady, NY Lines: 46 Keywords: automatic archive tape indexing In article <236@stc-auts.UUCP> kak@stc-auts.UUCP (Kris Kugel) writes: |I think that there are some "automatic archive" systems, maybe |somebody from one of them can give me some suggestions. | Kris A. Kugel | Storage Tek: ...{ uunet!nbires, hao, ihnp4 }!stcvax!stc-auts!kak You may wish to look at Chuq's program, which is supplied as a standard utility with the news software. It is called keepnews or savenews. (depending on the filename or the comments :-). I have made a few changes to this, and I use this program to keep track of 300+ MBytes of old news. One of the problems you'll notice is that you wait a lot when you try to examine directories with 1000+ files in it. savenews stores the files in a newsgroup/hash/article fashion. In addition, it extracts the Subject: line and stores that in the LOGS/newsgroup file. You can cd to the LOGS direcory and type grep -i vt100 *source* And get (results edited greatly :-) comp.sources.d:comp.sources.d/87-02/842.oakhill VT100 emulation on Sun comp.sources.d:comp.sources.d/87-03/677.linus Re: VT100 emulation on Sun mod.sources:mod.sources/86-01/1348.panda vtem - a VT100 emulator net.sources:net.sources/85-11/1634.cbosgd Re: Sysline on a vt100 You can then go to the appropriate directory to retrieve the article. I made some changes that make it easier to archive the files to tape. Instead of a hash value, I use the month and year of the posting (as the above example shows). Besides letting me sort the log files in chronological order, it also allows me to archive to tape the older news, keeping the latest news. I also prefer having all of the pieces of an N-part posting in one directory. Let me know if you want the patches to savenews. -- Bruce G. Barnett uunet!steinmetz!barnett