brename
« Back to VersTracker
Description:
Cross-platform command-line tool for safe batch renaming via regular expressions
Type: Formula  |  Latest Version: 2.14.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli renaming regex utility batch-processing
Install: brew install brename
About:
brename is a powerful cross-platform command-line utility designed for safe batch renaming of files and directories using regular expressions. It provides a preview mode to show changes before execution, preventing accidental data loss. The tool supports recursive directory traversal and complex pattern matching for sophisticated renaming operations.
Key Features:
  • Preview mode to safely review changes before applying them
  • Robust regular expression support with PCRE compatibility
  • Recursive directory traversal for batch operations
  • Cross-platform support (Linux, macOS, Windows)
Use Cases:
  • Standardizing photo filenames from camera exports
  • Mass renaming source code files during refactoring
  • Cleaning up downloaded files with inconsistent naming schemes
Alternatives:
  • rename – Perl-based rename utility with similar regex capabilities but less cross-platform consistency
  • mmv – Interactive bulk renaming tool with different syntax and approach
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 10, 2025 2:55am 0 VERSION_BUMP 4034add3
Sep 12, 2025 7:13pm 0 VERSION_BUMP f4e28bd6