On Tuesday 15 July 2003 09:09 pm, Todd Slater wrote: > On Tue, 15 Jul 2003 20:35:15 -0500
> Do you have a lot of different extensions you want to change? This can > give you an idea, changing *only* the extension to lowercase. Works with > files with spaces in the name, too. Test it first, then uncomment the mv > line. > > #/bin/bash > for i in *.MP3 > do > name=`echo $i |sed s/'.MP3'//` > ext=".mp3" > echo "$i : $name$ext" > # mv "$i" "$name$ext" > done > > > Todd That worked great Todd, excatly what I'm looking for. Chcase is nice, but it changes the comple file name to lower case, of course the author says to use perl expressions to limit this, but thats beyond stil at this point. This does excatly what I want. Thanks again Chris -- Regards Chris A 100% Microsoft free computer Registered Linux User 283774 http://counter.li.org 10:18pm up 24 days, 4:32, 6 users, load average: 0.01, 0.05, 0.30
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com