https://github.com/terror/edmv
Bulk rename files with your favourite editor
https://github.com/terror/edmv
Last synced: 10 months ago
JSON representation
Bulk rename files with your favourite editor
- Host: GitHub
- URL: https://github.com/terror/edmv
- Owner: terror
- License: cc0-1.0
- Created: 2023-07-03T02:01:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T03:11:32.000Z (over 2 years ago)
- Last Synced: 2024-10-11T06:11:25.643Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 41 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
## edmv 📦
[](https://github.com/terror/edmv/actions/workflows/ci.yml)
[](https://crates.io/crates/edmv)
**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:
[](https://asciinema.org/a/33OVZX9m1PZcyqYvdqmtvBRRv)
### Installation
You can install the **edmv** command-line utility via the rust package manager
[cargo](https://doc.rust-lang.org/cargo/):
```bash
cargo install edmv
```
...or you can build it from source:
```bash
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](https://github.com/terror/edmv/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 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](https://github.com/casey) wrote in
[Python](https://github.com/casey/edmv), do check it out!