Repren is a “rename anything” command-line tool that performs regex-based search and replace across file contents while also renaming or moving files and directories according to patterns. It’s meant for sweeping refactors: change a class or package name everywhere and update filenames to match in one pass. The design favors explicitness and safety, providing dry-run output so you can preview exactly what will change before executing it. It handles recursive directory walks, lets you filter which files to touch, and supports multiple patterns in a single run to keep transformations consistent. Because it’s script-friendly, it slots well into project maintenance, codebase migrations, or release engineering tasks. The goal is to give you a reliable, repeatable alternative to ad-hoc shell loops when large-scale text and filename changes are needed.

Features

  • Regex-driven replacements in file contents and filenames
  • Dry-run mode to preview changes before applying
  • Recursive operation with include and exclude filters
  • Multiple pattern rules applied consistently in one invocation
  • Designed for bulk refactors and project-wide renames
  • CLI ergonomics suited for automation in scripts and CI

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow repren

repren Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of repren!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Command Line Tools

Registered

2025-10-21