rnm
Bulk rename files with patterns
TLDR
Search and replace in filenames
SYNOPSIS
rnm [-ss pattern] [-rs replacement] [-sim] [-fo] [files...]
DESCRIPTION
rnm is a powerful bulk rename utility supporting regex, indexing, and name list files. It can rename files based on patterns, add sequential numbers, or use predefined name lists.
The tool includes simulation mode for previewing changes and undo functionality for reverting mistakes. It handles complex renaming scenarios with fine-grained control.
PARAMETERS
-ss _pattern_
Search string/regex-ssf _string_
Fixed (literal) search string-rs _replacement_
Replacement string-i _start_
Starting index for numbering-inc _step_
Index increment value-ns/f _file_
Name list file-fo
Files only (ignore directories)-sim
Simulation mode (dry run)-u
Undo last operation-s/mt
Sort by modification time
CAVEATS
Regex mode is default; use -ssf for literal strings. Undo only works for the last operation. Test with -sim first on important files.
HISTORY
rnm was created by Md Jahidul Hamid (neurobin) as a comprehensive bulk rename solution with features missing from simpler rename tools.
