Great Circle Associates Majordomo-Users
(April 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: writeconfig * (multiple lists)
From: Studded <Studded @ san . rr . com>
Organization: Triborough Bridge & Tunnel Authority
Date: Fri, 03 Apr 1998 11:02:00 -0800
To: potter @ csuite . ns . ca
Cc: Majordomo-Users @ GreatCircle . COM
References: <3523EE78.2C7CC242@ns.sympatico.ca>

David Potter wrote:
> 
> I've got a couple of hundred lists that are using the old config format.
> 
> Anybody conjured up a way to update a bunch of lists at once?

	I did a really short sh script to save the 'writeconfig list pass'
command to a file by more'ing the list.passwd files then just did 'cat
~/writeconfig-file | mail majordomo'. Make SURE that you back up your
list.config files first. The script was something to the effect of:

#!/bin/sh
for PASSFILE in `ls -1 *.passwd`; do
LIST=${PASSFILE%.*}
PASS=`more $PASSFILE`
echo writeconfig $LIST $PASS >> ~/writeconfig-file
done

	If you have hundreds of lists but no access to the machine they run on
I can't think of any easy way to do it.

Good luck,

Doug

-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud operator, designer and maintainer of the world's largest
*** Internet Relay Chat server.  5,328 clients and still growing.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)


References:
Indexed By Date Previous: Re: Simplifying email addresses
From: "Otis Gospodnetic" <otis@POPULUS.net>
Next: Re: Simplifying email addresses
From: David Smith <smithd@blkbox.com>
Indexed By Thread Previous: writeconfig * (multiple lists)
From: David Potter <dlpotter@ns.sympatico.ca>
Next: MajorCool: Getting It!
From: Sam Michel <sam@webmedia.com>

Google
 
Search Internet Search www.greatcircle.com