rename files to lower
#!/bin/sh
x=$(find -name '*[A-Z]*');
for i in $x; do
if [ -f "$i" ]
then
LOWER=$(echo "$i"|tr [:upper:] [:lower:]);
echo "move ${i} to ${LOWER}";
mv $i $LOWER
fi
done