🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51411

Re: News Transfer 2.2.1 to 2.3.1

#51411
From: Bernhard Kohl
Date: Thu, 22 Mar 2001 16:34
50 lines
2472 bytes
davidsen@tmr.com (bill davidsen) wrote in
<99d64g$63ak$1@newssvr05-en0.news.prodigy.com>: 

>In article <Xns906967C22B8EDBKohlrrzunikoelnde@134.95.100.202>,
>Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
>| Paul Reilly <paul.reilly@tcd.ie> wrote in <3AB3AF75.6AD07DCF@tcd.ie>:
>| 
>| >Hi
>| >
>| >I want to transfer all my articles from my 2.2.1 server to a new
>| >2.3.1 server.
>| >...list2 then looks like it's in the right format:
>| > ...
>| > ...
>| >misc.invest.stocks/387507
>| >aus.net.access/13867
>| >misc.legal/252033
>| >misc.legal/252034
>| >misc.legal/252053
>| >misc.health.diabetes/135482
>| >uk.misc/496817
>| >
>| 
>| 
>| I s this really the rifht format? I did something similar the last
>| days and changing the dots into backslashes did the work.
>
>  I hope that's a typo, you want slashes, like the one between the group
>and the article number.
>

Sorry, it's actually a typo. I did mean slashes. I did it with the 
following perl script (slightly modified from a previous one posted here):

	while (<>) {
	  chomp;
	  @foo = split;
	  if ($#foo > 1) {  # article not expired
	     # convert newsgroup name into path
	     $foo[2] =~ s/\./\//g;
	     # path and message-ID
	     print "$foo[2] $foo[0]\n";
	  }
	}

This one did it considerably faster then a combination of cut and tr.

Regards,
Bernd
Technical Details
Message-ID: <Xns906CB2DA1B8E0BKohlrrzunikoelnde@134.95.100.202>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!uni-erlangen.de!news-nue1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!not-for-mail
References: <3AB3AF75.6AD07DCF@tcd.ie> <Xns906967C22B8EDBKohlrrzunikoelnde@134.95.100.202> <99d64g$63ak$1@newssvr05-en0.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns906CB2DA1B8E0BKohlrrzunikoelnde@134.95.100.202>
Subject: Re: News Transfer 2.2.1 to 2.3.1
Date: Thu, 22 Mar 2001 16:34:50 +0000
From: B.Kohl@rrz.uni-koeln.de (Bernhard Kohl)
References: <3AB3AF75.6AD07DCF@tcd.ie> <Xns906967C22B8EDBKohlrrzunikoelnde@134.95.100.202> <99d64g$63ak$1@newssvr05-en0.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!151.189.0.75!newsfeed.germany.net!uni-erlangen.de!news-nue1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!not-for-mail
Newsgroups: news.software.nntp
Organization: Regional Computing Center, University of Cologne
Lines: 49
NNTP-Posting-Host: rzkr-nt08.rrz.uni-koeln.de
X-Trace: news.rrz.Uni-Koeln.DE 985278890 3709 134.95.128.31 (22 Mar 2001 16:34:50 GMT)
X-Complaints-To: newsmgr@rrz.uni-koeln.de
NNTP-Posting-Date: 22 Mar 2001 16:34:50 GMT
User-Agent: Xnews/M3