for i in $* do b=`echo $i|tr A-Z a-z` if [ $i != $b ] then echo "rename $i -> $b" mv $i $b fi done