'stdrename' is a small command line utility to rename all files in a folder according to a specified naming convention (camelCase, snake_case, kebab-case, etc.).
The version that killed v1.2.0 (life ~ 2 hours).
--text
mode !!!
I know what you're thinking...
"How exciting! I can finally type away new function and variable names to be translated to my favourite naming convention interactively!" or "Now, I'll be able to pipe in that big list of file names I needed standardized."
...and you have every right to be excited about such a feature: you could theoretically translate the entire bibliography of Shakespeare, right from your shell, to get rid of that pesky capitalization and finally read it in a more legible format: "snake_case".
--help
or -h
more concise and legible--quiet
(or -q
) to supress output-D
or --dir
flagsstdrename now uses a command-line argument parsing library instead of the previously manual parsing. The result is a much more user-friendly usage and a beautiful automatically generated help page
$ stdrename -h
stdrename v1.0.0
Gabriel Lacroix <[email protected]>
This small utility is designed to rename all files in a folder according to a specified naming convention (camelCase,
snake_case, kebab-case, etc.).
USAGE:
stdrename [FLAGS] <--camel|--kebab|--pascal|--screaming|--sentence|--snake|--title|--train> [TARGET]
FLAGS:
-p, --pascal Uses the PascalCase naming convention
--screaming Uses the SCREAMING_SNAKE_CASE naming convention
-S, --sentence Uses the Sentence case naming convention
-T, --title Uses the Title Case naming convention
-t, --train Uses the Train-Case naming convention
-c, --camel Uses the camelCase naming convention
-h, --help Prints help information
-k, --kebab Uses the kebab-case naming convention
-r, --recursive Makes renaming recursive, renaming files in subfolders as well
-s, --snake Uses the snake_case naming convention
-V, --version Prints version information
ARGS:
<TARGET> Specifies a different target directory
This version adds the following features:
.ignore
files-r
as the third argument to rename files in subdirectories as wellFirst release of a usable version of stdrename.