Re: Automate UPPER to lower case directory
On Tue, 20 Oct 1998, Anthony Landreneau wrote:
> Thanks guys, got the job done. I love ths little script, fits well in my
> /usr/bin too!
> Tell you, you don't get help like this from Microsoft!
I put my script in /usr/local/bin .... keeps /usr/bin messy.. the way dpkg
likes it :) (Also makes it easier to find.)
> Thanks again,
>
> Anthony Landrenea
> Infinity Data Systems
>
>
> >I think this is from some HOWTO but I forget which one:
> >
> >[sjc@lenny bin]$less up2lo
> >#!/bin/sh
> >
> >#
> ># up2lo - rename files from uppercase to lower case.
> >#
> >for i in $*
> >do
> >file=`echo $i | tr "[A-Z]" "[a-z]"`
> >mv $i $file
> >done
Michael Beattie (mickyb@es.co.nz)
PGP Key available, reply with "pgpkey" as subject.
-----------------------------------------------------------------------------
OFFLINE 1.50 "Virus check complete. All viruses functioning normally"
-----------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
Reply to: