[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automate UPPER to lower case directory



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!

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
>
>
>
>-- 
>/* -- Stephen Carpenter <sjc@delphi.com> --- <sjc@debian.org>------------ */
>E-mail "Bumper Stickers":
>"A FREE America or a Drug-Free America: You can't have both!"
>"honk if you Love Linux"
>


Reply to: