[comp.unix] how to change UPPER CASE into lower case?

nevai@function.mps.ohio-state.edu (Paul Nevai) (10/10/90)

Please help!!!!!
How to change the names of all files in a directory from UPPER CASE
to lower case?
Can you send me a shell script?
Please email your answer!

Thanks.

--


Paul Nevai                            nevai@mps.ohio-state.edu (Internet)
Department of Mathematics             nevai@ohstpy (BITNET)

cjr@ssi.UUCP (Cris J. Rhea) (10/13/90)

How about (in /bin/sh- not csh):

/bin/ls | while read a
do
b=`echo $a | dd conv=lcase 2>/dev/null`
mv $a $b
done

Cris