Pat Riehecky wrote:
>I know that this falls under the withlist command, but I am not really
>python savvy so....
>
>How exactly would I go about deleting the archives for about 15 lists
>and setting their archive attributes to off?
Actually, withlist is not the best tool for this. It is most easily
done in a shell script that processes a few commands for each list. If
the 15 lists are all the lists in the installation, you can get their
names in the shell script from
`bin/list_lists --bare`
Otherwise, you could read the 15 names from a file.
To set archiving off, you just do
bin/config_list -i file $list
where file contains the single line
archive = 0
and $list contains the list name. To remove the existing archives you
can do
rm -rf archives/private/${list}/*
rm -f archives/private/${list}.mbox/${list}.mbox
rm -f archives/public/${list}.mbox
You may or may not want to leave a stub index.html file in
archives/private/${list}/ to say something about the list not having
archives.
You may or may not want to do
rm -f archives/private/${list}
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp