Change the filename extension of multiple files in a directory.( e.g change all .html to .php )
-
Place "extensions.py" file inside the directory where you want to change file extensions.
-
Open your terminal, execute a command that should look like this :
python extensions.py oldExtension newExtension
Where oldExtension should be the file extension you wanna change (html,php ...) for all files in that directory. And newExtension is the extenstion you wanna change oldExtension to.