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