Linux Rename Long List of Files

If you want to rename a very long list of file, you may get Argument list too long, you can use the following command to rename a very long list of files,

find -name ‘*.JPG’ | xargs rename .JPG .jpg

in this example, it finds file with .JPG extension and rename it to lower case .jpg.