If you want to rename a folder of *.JPG's to *.jpg: rename JPG jpg *.JPG
The above does not work on Debian sarge - because perl expression is installed. Try this to rename all files to lower case: rename 'y/A-Z/a-z/' *