Quickly rename a batch of files in your default text editor.
Takes in a list of filenames on the command line, which are copied into the default text editor, and renames the files based on edits done to the filenames.
Running the command:
batch-rename foo bar baz
opens a text editor with:
foo
bar
baz
and changing any of the filenames causes those files to be renamed when the editor is closed.
Note: (currently only a binary for Linux-x86_64 is available)
Run the following to download the correct binary for your system from the releases tab into $CARGO_HOME/bin
, courtesy of japaric/trust:
bash <(curl -LSfs https://japaric.github.io/trust/install.sh) \
-f --git cjbassi/batch-rename
cargo install --git https://github.com/cjbassi/batch-rename