🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72885

Re: what to do after adding new groups to active and newsgroups files?

#72885
From: ruud
Date: Fri, 23 Dec 2005 11:03
18 lines
1722 bytes
zguoqi@gmail.com wrote:

> right, I can do that if I only need to add a few groups. The problem is
> that I have hundreds, thousands groups to add, which I like to just
> copy and paste them.

No, like this:

Make a file with all the groupnames you want to carrie, i.e. grouplist.txt

then execute this line:
for i in `cat grouplist.txt` ; do ctlinnd newgroup $i ; sleep 2; done 

Every 2 seconds, a new group will be created, even on a running inndeamon.

-- 
Gr. Ruud
http://www.nl-netwerken.com
Technical Details
Message-ID: <doglq5$ubp$1@box.nl-netwerken.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!koehntopp.de!news.stack.nl!news.nl-netwerken.com!not-for-mail
References: <1135193417.035532.122930@o13g2000cwo.googlegroups.com> <docap4$s33$1@news.klen.dk> <1135200822.640536.296730@g44g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <doglq5$ubp$1@box.nl-netwerken.com>
Subject: Re: what to do after adding new groups to active and newsgroups files?
Date: Fri, 23 Dec 2005 12:03:57 +0100
From: ruud <geen@mail.invalid>
References: <1135193417.035532.122930@o13g2000cwo.googlegroups.com> <docap4$s33$1@news.klen.dk> <1135200822.640536.296730@g44g2000cwa.googlegroups.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!koehntopp.de!news.stack.nl!news.nl-netwerken.com!not-for-mail
Newsgroups: news.software.nntp
Organization: nl-netwerken.com
Lines: 18
NNTP-Posting-Host: 217-100-176-66.edu.multikabel.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: box.nl-netwerken.com 1135336069 31097 217.100.176.66 (23 Dec 2005
X-Complaints-To: abuse@nl-netwerken.com
NNTP-Posting-Date: Fri, 23 Dec 2005 11:07:49 +0000 (UTC)
X-No-Archive: Yes