/file-extension-switcher

Switches file extensions for all files in a directory matching a certain file type.

Primary LanguageJavaScript

file-extension-switcher

Switches file extensions for all files in a directory matching a certain file type.


Usage

To rename all .svg files to .txt files:

node file-extension-switcher.js .svg .txt /input-directory /output-directory