--On 17. Januar 2015 12:38:35 -0800 Mark Sapiro <m...@msapiro.net> wrote:
On 01/16/2015 10:04 PM, Mark Sapiro wrote:
Mark Sapiro wrote:
On 01/15/2015 06:07 PM, Stephen J. Turnbull wrote:
(@Mark: do you have script to "clone" a list with a new name?)
I don't currently, but it seems like a good idea, I'll see what I can
come up with.
OK, there now is one at <http://www.msapiro.net/scripts/clone_list>
(mirrored at <http://fog.ccsf.edu/~msapiro/scripts/clone_list>)
Here's the command help:
usage: clone_list [-h] [-r REAL_NAME] [-o OWNER] [-p PASSWORD]
[-s SUBJECT_PREFIX] [-m]
old_list new_list
And, as we know, since no program is finished until the programmer dies,
I have added an additional option to copy the archives as well.
I also added more to the help description to indicate the script needs
to be installed in Mailman's bin/ directory and that there are still
issues in copied archives due to links still pointing to the old list.
I considered adding a --remove option to remove the old list after
cloning to make it a 'rename' process, but decided against that both
because of the archive issues in the new list and because one can always
easily remove the old list with bin/rmlist anyway.
Thanks for that! We could've used that often in the past and will be able
to do so from now on :-)
--
.:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
.:.Regionales Rechenzentrum (RRZK).:.
.:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org