Sometime ago, somebody on this list gave me the following shell script. I 
hope these will help.

for i in `ls`
do
        ii=`echo $i | tr A-Z a-z` 
        #ii=`echo $i | tr '[:upper:]' '[:lower:]' `
        mv $i $ii
done


for i in `ls`
do
        ii=`echo $i | tr a-z A-Z` 
        #ii=`echo $i | tr '[:upper:]' '[:lower:]' `
        mv $i $ii
done


On Wed, 3 Nov 1999, Patrick Colbeck wrote:

> Reply-To: 
> Hi
> 
> I need to change a load of filenames from upper to lower case. I used to
> have a util that did this but have lost it (a perl script I seem to
> remeber). Does anyone have a url for anything similar as its a real pain
> when you have to do it manually for loads of files.
> 
> Thanks
> 
> Pat
> 
> -- 
> ________________________________________________________________________
> 
>  Patrick Colbeck        email: [EMAIL PROTECTED]          
>  Senior Analyst            tel:  you dont seriously expect me to 
>  Azlan Ltd                       give that out on the internet do you ?
> 
>  RedHat 6.0 [6.1 iso image downloading now]
> ________________________________________________________________________
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 
> 

------ 

 | Zaigui Wang         |
 | www.cs.siu.edu/~wang|    
 | 618-453-6033(office)|   
/////////////////////////


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to