Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 628 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 628 Bytes

rename.js

Simple Node.js script to rename files and foldes

Getting started

  1. Download and install the latest version of Node.js;
  2. Open Command Prompt/Shell/Terminal and type node -v to make sure the installation completed successfully.

How to use it

  1. Download the rename.js;
  2. Open Command Prompt/Shell/Terminal in the directory of the script;
  3. Type node rename.js "path/to/rename/from1=>path/to/rename/to1" "path/to/rename/from2=>path/to/rename/to2" ....

Example

node rename.js "test_folder=>test_folder2" "test_folder2/testFile.txt=>test_folder2/testFile2.txt"