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. I also added reference to this script to the FAQ at <https://wiki.mailman.psf.io/DOC/4.70%20How%20do%20I%20change%20the%20name%20of%20%28rename%29%20a%20list%3F> -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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