Skip to content

Renamer plugin to set the case of a filename.

License

Notifications You must be signed in to change notification settings

75lb/renamer-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

view on npm npm module downloads Gihub repo dependents Gihub package dependents Build Status Coverage Status js-standard-style

renamer-case

Renamer replace chain plugin to set the case of one or more files and/or directories. See this tutorial to learn how to use renamer plugins.

Possible values: camel, kebab, lower, upper, snake and start. It uses the lodash methods by the same name.

Install

$ npm install -g renamer renamer-case

Use

Example usage. Remove the --dry-run option to rename the files on disk.

$ tree -N
.
├── One one
└── One two

0 directories, 2 files

$ renamer --chain renamer-case --case camel --dry-run * 

✔︎ one one → oneOne
✔︎ one two → oneTwo

Rename complete: 1 of 1 files renamed.

$ tree -N
.
├── oneOne
└── oneTwo

0 directories, 2 files

© 2018-21 Lloyd Brookes 75pound@gmail.com.

About

Renamer plugin to set the case of a filename.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks