|1.3.0||Apr 30, 2021|
|1.2.0||Apr 28, 2021|
|1.1.4||Sep 14, 2020|
|1.1.2||Sep 13, 2020|
|1.0.1||Sep 11, 2020|
#230 in Command line utilities
60 downloads per month
pipe-rename takes a list of files as input, opens your $EDITOR of choice, then
renames those files accordingly.
cargo install pipe-rename
This will install the
Usage is simple, just pipe a list of files into
renamer. This will open your
$EDITOR (or vim, if not set), and once your editor exits it will detect which
files were renamed:
ls | renamer
You can also supply filenames as positional arguments. To rename txt files in the current directory:
The default behavior is to rename files, but you can override this. If you want
git mv old new on each rename, you can do something like this:
ls | renamer --rename-command "git mv"
Takes a list of files and renames/removes them, by piping them through an external editor USAGE: renamer [FLAGS] [OPTIONS] [FILES]... FLAGS: -h, --help Prints help information -V, --version Prints version information -y, --yes Answer all prompts with yes OPTIONS: -c, --rename-command <COMMAND> Optionally set a custom rename command, like 'git mv' ARGS: <FILES>... The files to rename
🤔 💻 🐛
Benoit de Chezelles
This project follows the all-contributors specification. Contributions of any kind welcome!