rnr
« Back to VersTracker
Description:
Command-line tool to batch rename files and directories
Type: Formula  |  Latest Version: 0.5.1@0  |  Tracked Since: Dec 13, 2025
Links: Homepage  |  formulae.brew.sh
Category: Productivity
Tags: cli file-renaming batch-processing regex productivity
Install: brew install rnr
About:
RNR is a powerful command-line utility designed for batch renaming files and directories using regex patterns and placeholders. It provides a safer alternative to shell loops by offering preview capabilities and dry-run modes before executing changes. The tool excels at handling complex renaming operations across large file sets with support for recursive directory traversal.
Key Features:
  • Regex-based pattern matching with capture groups
  • Preview mode with dry-run safety checks
  • Recursive directory traversal support
  • Cross-platform compatibility (Linux, macOS, Windows)
Use Cases:
  • Batch renaming photo collections with sequential numbering
  • Standardizing file naming conventions across projects
  • Cleaning up downloaded files with inconsistent naming
Alternatives:
  • rename – Perl-based rename utility with similar regex capabilities but less cross-platform support
  • mmv – Interactive batch rename tool with wildcard matching but no regex support
Version History
Detected Version Rev Change Commit
Dec 13, 2025 2:51pm 0 VERSION_BUMP 542977a6
Sep 14, 2025 5:58am 0 VERSION_BUMP 3e19eb23
Jan 12, 2025 6:19pm 0 VERSION_BUMP 87fbf861
Sep 14, 2024 1:12am 0 VERSION_BUMP f0031867