Batch rename files and directories with regex pattern matching
Command-line tool to batch rename files and directories
rnr
$ rnr 'old' 'new' *.txt
$ rnr '(.+)\.txt$' '$1' *.txt
$ rnr -r 'test_' 'prod_' .