2.0.1 • Published 6 years ago
change-file-case v2.0.1
Change File Case
Script that automates changing all file-names in a folder. Very helpful with folders that contain huge amount of files.
Instal
$ npm install change-file-case
Usage
In the command line/terminal:
$ node path-to-index.js directory-to-rename case-code
Supported Cases
- 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
Example
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