Switches file extensions for all files in a directory matching a certain file type.
To rename all .svg files to .txt files:
node file-extension-switcher.js .svg .txt /input-directory /output-directory
Switches file extensions for all files in a directory matching a certain file type.
JavaScript