#/bin/bash

for i in *.JPG ; do
    echo Renomeando `basename $i .JPG`...;
    mv "$i" `basename $i .JPG`.jpg;
done

chmod 644 *.jpg
