Script that automates changing all file-names in a folder. Very helpful with folders that contain huge amount of files.
$ npm install change-file-case
In the command line/terminal:
$ node path-to-index.js directory-to-rename case-code
- Uppercase: code => upper
- Lowercase: code => lower
- Title Case: code => title
- Sentence Case: code => sentence
- Camel Case: code => camel
- Kebab Case: code => kebab
- Snake Case: code => snake
Suppose we are in the directory of the index.js and want to convert the files in "anyDir" to uppercase:
$ node index.js ../anyDir upper