Re: Convert file in a dir to lower case



In news:13c58$473144a2$d0664623$1217@xxxxxxxx,
Netlurker <netwizNO@xxxxxxxxxxxxxxxx> wrote:

Hi, how to convert recursively all file in a directory and all
subdirs to lower case ?

Bye

There are several ways to do it but here is something I whipped up
real quick:

for x in `find .`; do new=`echo $x | tr '[A-Z]' '[a-z]'`; mv $x $new;
done

Do that from inside the starting directory.

Although that will change the directory names also and cause problems with
the mv.

.