Hi Jerry, I wrote the script to rename lists. You might want to tailor it for your setting: #!/bin/sh -xv if [ $# = 2 ] then cd $LISTSERV-HOME/home ls $1.* > /tmp/oldname for v in `cat /tmp/oldname`; do echo "mv "$v $2"."`echo $v | cut -d"." -f2` | sh done cd $LISTSERV-ARCHIVES/$1 ls $1.* > /tmp/oldname for v in `cat /tmp/oldname`; do echo "mv "$v $2"."`echo $v | cut -d"." -f2` | sh done cd .. mv $1 $2 cd $LISTSERV-ARCHIVES ls $1.* > /tmp/oldname echo ':%s/'$1'/'$2'/g' > /tmp/script echo ':wq!' >> /tmp/script ex $1.html < /tmp/script for v in `cat /tmp/oldname`; do echo "mv "$v $2"."`echo $v | cut -d"." -f2` | sh done ## Restart ListServ /etc/rc2.d/S99listserv else echo "Usage: " $0 " OldName NewName" fi On 6/10/2013 11:04 AM, Jerry Nelson wrote: > > Does anyone have a nice linux script (shell or perl) to RENAME a user > LIST? > > I do not like this 14 step process everytime we need to do a rename L > > Thanks Much if you can share it!! > > --Jerry > > > ------------------------------------------------------------------------ > This communication, including any attachments, may contain > confidential information and is intended only for the individual or > entity to which it is addressed. Any review, dissemination or copying > of this communication by anyone other than the intended recipient is > strictly prohibited. If you are not the intended recipient, please > contact the sender by reply e-mail and delete all copies of the > original message. > > ------------------------------------------------------------------------ > > To unsubscribe from the LSTSRV-L list, click the following link: > http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTSRV-L&A=1 > ############################ To unsubscribe from the LSTSRV-L list: write to: mailto:[log in to unmask] or click the following link: http://peach.ease.lsoft.com/scripts/wa-PEACH.exe?SUBED1=LSTSRV-L&A=1