rename multiple files with editor
Find a file
2021-09-18 23:45:25 +09:00
.github/workflows fix the version of actions 2020-12-30 21:55:22 +09:00
cmd/mmv bump up version to 0.1.3 2021-01-10 09:20:31 +09:00
.gitignore include CREDITS file in artifacts 2020-09-19 10:57:00 +09:00
CHANGELOG.md update CHANGELOG.md for v0.1.3 2021-01-10 09:18:45 +09:00
go.mod require Go 1.16+ 2021-09-18 23:44:41 +09:00
go.sum update dependencies 2021-01-10 09:16:09 +09:00
LICENSE update copyright year in LICENSE 2021-01-07 21:55:25 +09:00
Makefile use go install instead of go get 2021-09-18 23:45:25 +09:00
mmv.go use strconv.FormatUint with base 16 to generate temporary paths 2021-01-08 19:43:52 +09:00
mmv_test.go support directory renames (close #11) 2021-01-07 21:42:34 +09:00
README.md use go install instead of go get 2021-09-18 23:45:25 +09:00

mmv

CI Status Go Report Card MIT License release pkg.go.dev

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 install github.com/itchyny/mmv/cmd/mmv@latest

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.