Skip to content

terror/edmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6b27884 Â· Jul 14, 2023

History

43 Commits
Jul 12, 2023
Jul 12, 2023
Jul 14, 2023
Jul 14, 2023
Jul 3, 2023
Jul 4, 2023
Jul 3, 2023
Jul 14, 2023
Jul 14, 2023
Jul 3, 2023
Jul 14, 2023
Jul 12, 2023
Jul 3, 2023

Repository files navigation

edmv 📦

CI crates.io

edmv is a tool that lets you bulk rename files fast using your preferred text editor.

Demo

Below is a short demo showcasing the main functionality of the program:

asciicast

Installation

You can install the edmv command-line utility via the rust package manager cargo:

cargo install edmv

...or you can build it from source:

git clone https://github.com/terror/edmv
cd edmv
cargo install --path .

...or you can download one of the pre-built binaries from the releases page.

Usage

Below is the output of edmv --help:

Bulk rename files using your favorite editor

Usage: edmv [OPTIONS] [sources]...

Arguments:
  [sources]...  Paths to edit

Options:
      --editor <EDITOR>  Editor command to use
      --force            Overwrite existing files
      --resolve          Resolve conflicting renames
      --dry-run          Run without making any changes
  -h, --help             Print help
  -V, --version          Print version

An option of note is the --resolve option, this applies to sources an intermediate rename to either a temporary directory or file - automatically handling conflicts such as overlapping or circular renames.

Prior Art

edmv is a tested and extended re-implementation of the version Casey wrote in Python, do check it out!

About

Bulk rename files with your favourite editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published