mass renaming
Furmanek, Greg
Greg.Furmanek@hit.cendant.com
Tue, 22 Aug 2000 18:44:00 -0400
for i in `ls . | grep *.ext | sed 's/\.ext//'`; do mv $i.ext $i.other; done
this should do it.
-> -----Original Message-----
-> From: Don Harrop [mailto:don@nis4u.com]
-> Sent: Tuesday, August 22, 2000 3:38 PM
-> To: plug-discuss@lists.PLUG.phoenix.az.us
-> Subject: mass renaming
->
->
-> I'm trying to rename a ton of files with a certain extension
-> to another
-> extension type. If this is possible with the mv command I
-> can't figure out
-> the syntax.. Anyone know how to do this?
->
-> Don
->
->
-> ________________________________________________
-> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your
-> mail doesn't post to the list quickly and you use Netscape
-> to write mail.
->
-> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
-> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
->