Article View: news.software.readers
Article #3928Re: TIN: save unread articles to a file
From: Mike Peeler
Date: Tue, 20 Apr 1993 13:43
Date: Tue, 20 Apr 1993 13:43
30 lines
2079 bytes
2079 bytes
Devin the Elephant (devin@telerama.pgh.pa.us) wrote: >> "I'd like to know how to, for a given newsgroup, specify that all the >> new posts are to be gathered up into a single file (straight ascii >> ok), and then downloaded. Thanks..." Derek Bell (dbell@clyde.mcs.dundee.ac.uk) wrote: > What you can do is use the -S option to save out all the messages. This > creates a file for each post in a directory like the group name ie posts > for alt.sources would be in alt/sources in your News directory. You can then > run the script below which copies any posts into the one file called > [groupname]_yymmdd - just the groupname with the date appended. I have nits on your script, but I'll spare you (unless you're interested). Your design is thoughtful and it's a good first effort. As often happens in Unix, there are easier ways. Devin said ascii would be ok, not required. I use 'zip -mr zipfile *' for my downloads. Moves all files under the current directory (recursively) into zipfile. You could also walk the tree with ls -R or find. When using tin -S, be sure to use -c to mark the articles as read. That saves all articles, all groups. If you want to do one group at a time, you can use an alternate newsrc with -f groupfile. If you do it a lot, updating your normal .newsrc can get messy, best to keep each group in only one of your groupfiles. -- -Z-
Technical Details
Message-ID:
<zconceptC5sBGn.3E1@netcom.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!news.ucdavis.edu!csus.edu!netcom.com!zconceptReferences:
<1qu0bo$kh6@dux.dundee.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <zconceptC5sBGn.3E1@netcom.com> Subject: Re: TIN: save unread articles to a file Date: Tue, 20 Apr 1993 13:43:35 GMT From: zconcept@netcom.com (Mike Peeler) References: <1qu0bo$kh6@dux.dundee.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!news.ucdavis.edu!csus.edu!netcom.com!zconcept Newsgroups: news.software.readers Organization: Play in the South Bay X-Newsreader: TIN [version 1.1 PL9] Lines: 30