Mailing List Archive

Support open source code!


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

Re: Converting uppercase file names to lowercase filenames



Anthony,

How about tr?

for file in *
do 
	lcname=`echo $file | tr [:upper:] [:lower:]`
	mv -f $file $lcname
done 

-Jake

Antony Stace wrote:
> 
> Hi Folks
> 
> Without resorting to awk, sed, perl is there a utility which can convert
> a file name which is all in uppercase to lowercase.
> 
> Cheers
> 
> Antony
> 
> -----------------------------------------------------------------------
> Next Technical Meeting: February, 2001
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links