rnr

Batch rename files and directories with regex pattern matching

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool to batch rename files and directories

Commands

rnr

Examples

Replace all occurrences of 'old' with 'new' in filenames$ rnr 'old' 'new' *.txt
Rename files using regex to remove file extensions$ rnr '(.+)\.txt$' '$1' *.txt
Recursively rename files in directories matching a pattern$ rnr -r 'test_' 'prod_' .