RnR
A command-line tool that batch renames files and directories using regular expressions.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
1 more ways to get RnR
Package managers
- Homebrew
brew install rnr
About RnR
RnR renames many files and directories at once using regular expressions, including capture groups. It runs as a dry run by default and checks each operation to avoid collisions, removals or overwrites of existing files.
It can work recursively, create backup files, write operations to a dump file and undo them from it, and apply text transformations to replacements. It runs on Linux, macOS and Windows, with binaries on GitHub releases and packages in Homebrew and the AUR.
Strengths
- Dry run by default with collision checks
- Undo through operation dump files
- Regex capture groups and text transformations
- Runs on Linux, macOS and Windows
Limitations
- Only accepts UTF-8 valid input arguments
- Requires comfort with regular expressions
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- Ismael González Valverde
- Platforms
- Windows, macOS, Linux, Command line
- How it runs
- Downloadable app
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Renaming large batches of files safely from the terminal
- Categories
- CLI tools, File managers
- Last verified
- Added
- Provenance
- Facts checked against the developer's own pages and store listings, 2 sources on file.
Alternatives to RnR
Compare allSoftware that can replace RnR for an important use case, and what changes if you switch.
F2
A cross-platform command-line tool for batch renaming files and directories, with dry runs and undo.
F2 also defaults to dry runs with undo and conflict detection, and adds EXIF and ID3 metadata in new file names, under the MIT license.
Similar software
Related functionality, not necessarily a direct replacement.
sd
Replace text with a focused command-line tool.
fastmod
A fast command-line tool for interactive regex search and replace across a large codebase.
fd
Finds files by name without the argument soup that find requires, and it is much faster.
fclones
A command-line tool that finds groups of identical files and removes the copies you no longer need.