A simple java script code to rename all files in a directory with increment. # How to run $ node index.js path-to-directory prefix separator