Skip to content

jeremystucki/mvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvr

Build Status dependency status Coverage Status

A replacement for zsh's zmv.

Usage

USAGE:
    mvr <old pattern> <new pattern>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <old pattern>    Use braces to indicate groups
                     Use question marks to match a single character
                     Use asterisks to match any amount of characters
    <new pattern>    Use $n to insert a matched group (0-based)

Example

Input:

 ├── foo_01.md
 ├── foo_01.txt
 └── foo_02.txt

Command:
mvr '*_(??).(*)' '$0.$1'

Output:

 ├── 01.md
 ├── 01.txt
 └── 02.txt

About

A replacement for zsh's zmv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published