Skip to content

Script that automates changing all file-names in a folder. Very helpful with folders that contain huge amount of files.

License

Notifications You must be signed in to change notification settings

AmeerTaweel/change-file-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Change File Case

npm version License: MIT

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

About

Script that automates changing all file-names in a folder. Very helpful with folders that contain huge amount of files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published