rename multiple files with editor
Find a file
2020-09-18 19:40:02 +09:00
.github/workflows use actions/checkout main 2020-08-16 00:45:44 +09:00
cmd/mmv fix to use strings.Fields to split 2020-09-18 19:40:02 +09:00
.gitignore initialize repository 2020-01-08 00:40:41 +09:00
go.mod remove dependency on github.com/stretchr/testify 2020-08-14 01:31:44 +09:00
go.sum remove dependency on github.com/stretchr/testify 2020-08-14 01:31:44 +09:00
LICENSE initialize repository 2020-01-08 00:40:41 +09:00
Makefile remove clean from make all 2020-07-20 21:25:24 +09:00
mmv.go apply gofumpt 2020-08-14 01:16:58 +09:00
mmv_test.go use t.Cleanup instead of defer 2020-08-14 01:31:47 +09:00
README.md update feature list in README.md 2020-01-09 14:59:15 +09:00

mmv CI Status

Rename multiple files using your $EDITOR. The command name is named after multi-mv.

Usage

mmv file ...

This command opens the editor with the list of file names so edit and write. The command finds the changed lines and renames all the corresponding files.

Installation

Homebrew

brew install itchyny/tap/mmv

Build from source

go get github.com/itchyny/mmv/cmd/mmv

Features

  • mmv is implemented in Go language and completely portable.
  • mmv is designed to be simple as mv. It requires no configuration file.
  • mmv supports renaming in cycle (mv a b, mv b c and mv c a at the same time).
  • mmv creates destination directories automatically. You can arrange pictures like yyyy-mm-dd xxxx.jpg to yyyy/mm/dd/xxxx.jpg.
  • mmv is capable to use as a library (just call mmv.Rename).
  • mmv is easy to remember (I believe), multi-mv.

Bug Tracker

Report bug at Issues・itchyny/mmv - GitHub.

Author

itchyny (https://github.com/itchyny)

License

This software is released under the MIT License, see LICENSE.