Article View: news.software.nntp
Article #74224Re: Renaming a newsgroup
From: John F. Morse
Date: Mon, 11 Sep 2006 15:16
Date: Mon, 11 Sep 2006 15:16
56 lines
3169 bytes
3169 bytes
John F. Morse wrote: Jeff, These wouldn't work: > perl renamer.pl brisbee xanadu.brisbee */* > perl renamer.pl computers xanadu.computers */* > perl renamer.pl petchat xanadu.petchat */* > perl renamer.pl raucouscaucus xanadu.raucouscaucus */* > perl renamer.pl soapbox xanadu.soapbox */* > perl renamer.pl local.announce xanadu.announce */* > perl renamer.pl local.info xanadu.info */* > perl renamer.pl local.test xanadu.test */* It seems the script does not like a wildcard for the directory (*/*). I was getting an "Argument list too long" failure. (But, see below.) I did get the script to work by using (from within the articles/xanadu directory): ~/renamer.pl oldgroup newgroup directory/* For instance, specifying the directory: ~/renamer.pl computers xanadu.computers computers/* (It will also works from within the group directory with the single wildcard, but I only tested this on one small group.) The last group I tried to rename (brisbee) failed. I received "Argument list too long" for the brisbee group. I think this big group was causing the earlier failure noted above with the "*/*" directory wildcard -- it couldn't get past the brisbee group. This group has 33,960 articles. Is there a 16 bit (32767) limitation? Suggestions? Split the group's files into two (or more) directories, run renamer.pl in each directory, then combine all files back into the xanadu.brisbee directory? This might possibly work, although the next smaller group only had 2902 articles. I'll let it set until I hear from you, just in case you want to try a Perl script modification, and want me to test it. -- John
Technical Details
Message-ID:
<b5fNg.106750$5i3.29042@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!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!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> <ee3bcp$sqa$1@puck.litech.org> <OwbNg.22657$QM6.20750@bgtnsc05-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <b5fNg.106750$5i3.29042@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: Renaming a newsgroup Date: Mon, 11 Sep 2006 15:16:23 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> 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> <ee3bcp$sqa$1@puck.litech.org> <OwbNg.22657$QM6.20750@bgtnsc05-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!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <OwbNg.22657$QM6.20750@bgtnsc05-news.ops.worldnet.att.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 56 NNTP-Posting-Host: acb8c0bd6896f08e6aad8b0bd14017a2 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1157987783 NNTP-Posting-Date: Mon, 11 Sep 2006 15:16:23 GMT