repren
« Back to VersTracker
Description:
Rename anything using powerful regex search and replace
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli regex renaming refactoring utility
Install: brew install repren
About:
Repren is a command-line utility that performs flexible search and replace operations on file names and file contents. It supports advanced features like multi-pattern replacement, case preservation, and dry-run capabilities. This makes it ideal for complex refactoring or batch renaming tasks that go beyond the capabilities of standard tools.
Key Features:
  • Rename files and directories using regex patterns
  • Replace content within files using powerful search and replace
  • Case preservation and flexible naming schemes
  • Dry-run mode to preview changes before applying
  • Handles complex renaming and refactoring scenarios
Use Cases:
  • Batch renaming photo collections with new numbering schemes
  • Refactoring codebases by renaming variables and files simultaneously
  • Cleaning up downloaded files by applying consistent naming conventions
Alternatives:
  • rename – Standard rename utility, often less powerful than Repren's regex capabilities.
  • sed – Stream editor for content, but not designed for renaming files or complex batch operations.
Version History
Detected Version Rev Change Commit
Dec 17, 2024 11:11am 0 VERSION_BUMP 791e1ee5