Debian Admin posted a tip about renaming multiple files to another extension in Linux
Let us say that you want to rename all of your .php5 files to .php files. You can use for loop.Rename multiple files to another extension in Linux