Article View: news.software.nntp
Article #74220Re: Renaming a newsgroup
From: Jeffrey M. Vinocur
Date: Mon, 11 Sep 2006 09:48
Date: Mon, 11 Sep 2006 09:48
60 lines
3714 bytes
3714 bytes
In article <OJ7Ng.103780$5i3.83664@bgtnsc04-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: > >I'm curious though: How will the script handle the crossposted group >names in groups other than the one where it is executing? Will I need to >run it five times in each group's directory, with the new group names? >Or can I run it in the new hierarchy directory "xanadu" containing the >five directories, with a wildcard? Wouldn't I still need to run it five >times since there are five distinct group names? You need to do one run per old-name/new-name pair, but you can include all the articles regardless of location (so you need five runs, not twenty-five). It would be fine to run the script five times in the top-level directory after relocating the files as you suggest (simply do `renamer.pl x y */*` to get all the files in all the subdirectories). Alternatively, you can run it in the existing directories, a little more verbosely, by doing something like `renamer.pl x y brisbee/* soapbox/* petchat/* ...` to list out all the articles that way. No matter as far as the script is concerned. >What detrimental effect would result if a crossposted article was not >correctly renamed? Would it be a silent error while serving the article >to the reader? IOW, will it harm the server's operation, or simply log >an error, which actually could make the identification of the article >easier so it can be manually edited. I can see myself editing several >years into the future as errors trickle in from failures. ;-) I suspect the article would be correctly visible in whichever of the groups got renamed, and simply missing from those that didn't. It shouldn't hurt the server, though. >john@optima7:/var/spool/news/articles$ ls -l Incidentally, the sizes you see reported there are not very meaningful -- they're just the sizes of the index structures required to keep track of each directory. You probably want to do `du -sck *` or `du -sch *` instead. >It seems modern newsreaders have lost their ability to see crossposted >articles, and mark them read in all subscribed groups once they have >been read in one group. Depends on the newsreader, I guess. I use trn, which does this without issue. >Perhaps it is no longer a big issue, unless INN balks on it when >running the nightly expire routines or running makehistory? I'm not sure what you're asking here. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<ee3bcp$sqa$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <RzZMg.99175$5i3.82988@bgtnsc04-news.ops.worldnet.att.net> <ee23ii$6qj$1@puck.litech.org> <OJ7Ng.103780$5i3.83664@bgtnsc04-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <ee3bcp$sqa$1@puck.litech.org> Subject: Re: Renaming a newsgroup Date: Mon, 11 Sep 2006 09:48:09 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <RzZMg.99175$5i3.82988@bgtnsc04-news.ops.worldnet.att.net> <ee23ii$6qj$1@puck.litech.org> <OJ7Ng.103780$5i3.83664@bgtnsc04-news.ops.worldnet.att.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 60 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1157968089 29514 66.218.0.75 (11 Sep 2006 09:48:09 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Mon, 11 Sep 2006 09:48:09 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)