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