1 #!/bin/sh 2 for x in *; do 3 y=`echo $x | tr '[A-Z]' '[a-z]'` 4 if [ $x != $y ]; then 5 mv $x $y 6 fi 7 done 8 9