Rename files to lowercase in Terminal

$ cd into folder with files

Run the following command from the Terminal:

$ for f in *; do mv “$f” “`echo $f | tr “[:upper:]” “[:lower:]”`”; done