RnR

Build Status Crates.io License

rnr is a command-line tool to batch rename files for ANSI terminals.

Install

RnR is written in Rust. At this moment, you will need Cargo to build/install this application.

From source

sh git clone https://github.com/ChuckDaniels87/rnr . cargo install

From Crates.io

sh cargo install rnr

Options

``` USAGE: rnr [FLAGS] [OPTIONS]

FLAGS: -b, --backup Generate file backups before renaming -n, --dry-run Only show what would be done (default mode) -f, --force Make actual changes to files -h, --help Prints help information -x, --hidden Include hidden files and directories -s, --silent Do not print any information -V, --version Prints version information

OPTIONS: --color Set color output mode [default: auto] [possible values: always, auto, never] -d, --max-depth Set max depth in recursive mode -r, --recursive Recursive mode

ARGS: Expression to match (can be a regex) Expression replacement

Default behavior

Demo

Demo