Great Circle Associates Majordomo-Users
(September 2000)
 

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

Subject: Re: Deleting a list -- scripts
From: Alvin Oga <alvin @ planet . fef . com>
Date: Fri, 29 Sep 2000 16:29:06 -0700 (PDT)
To: jjah @ cloud . ccsf . cc . ca . us (Joe R. Jah)
Cc: alvin @ planet . fef . com (Alvin Oga), majordomo-users @ GreatCircle . COM
In-reply-to: <Pine.BSI.3.96.1000929150324.6111A-100000@cloud.ccsf.cc.ca.us> from "Joe R. Jah" at Sep 29, 2000 03:23:51 PM


hi ya...

> A safer pair of commands would be:
> 
> rm /path/to/majordomo/lists/listname
> rm -r /path/to/majordomo/lists/listname.*
> 
> The second command would take care of the default archives as well.
> 
> > That should do it.  You'll need to delete the appriate digest and archive
> > files as well, if that is applicable.
> 
> The safest and most efficient way of doing it is to write a script to
> remove the aliases and files and all, so every time you run the script,
> all you need to do is give it a listname; the script does the rest;) 

==== >
==== > Better yet, write a multipurpose script to create lists, remove lists,
==== > rename list, etc.
==== >

magic...
does anybody have this done ????

i have one that creates a lists...
	http://www.linux-consulting.com/Majordomo/mj_check.pl  ( -create option )
	- checks for permission problems and stuff
	- creates lists

another script...
	ftp://monolith.coafes.umn.edu/pub/majordomo/MajorDomoCreateII-0.4

Once, i had to manually rename List-Name  to listname once...
( that was a pain...note the caps-caps

- need to get homedir info....
- need to get archive and digest info out of majordomo.cf
- need to find out if they using /etc/aliases or  some other permuations

c ya
alvin




References:
Indexed By Date Previous: Re: Lists File System Structure
From: Jason Helfman <jhelfman@bizrate.com>
Next: Re: Deleting a list
From: Gary Moore <glmoore@WOLFENET.com>
Indexed By Thread Previous: Re: Deleting a list
From: "Joe R. Jah" <jjah@cloud.ccsf.cc.ca.us>
Next: Re: Deleting a list
From: Gary Moore <glmoore@WOLFENET.com>

Google
 
Search Internet Search www.greatcircle.com