I used to use mv in a for loop or with exec, or xargs until I found a very useful command that’s included in almost every distro
$ rename oldfilename newfilename *filepattern
To rename all the files in the current directory ending with .htm to .html
$ rename .htm .html *.htm
You can use RegEx and for more sophisticated selections and use
-n to test your changes before you commit them.