On Tuesday 15 July 2003 09:09 pm, Todd Slater wrote:
> On Tue, 15 Jul 2003 20:35:15 -0500
>
> Chris <[EMAIL PROTECTED]> wrote:
> > At one time a long ways back someone posted, I think it was a small
> > script file to change the case of file extensions, ie..MP3 to .mp3.
> > Does anyone have that laying around?  I've been googling and found a
> > few, but none seem to work correctly.
> >
> > Thanks
> > Chris
>
> 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

Boy, the mail is really a mess, this came in after the message I just replied 
to.  Maybe thats my problem.

-- 
  Regards
  Chris
  A 100% Microsoft free computer
  Registered Linux User 283774 http://counter.li.org
  9:55pm  up 24 days,  4:09,  6 users,  load average: 0.16, 0.79, 1.18


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to