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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
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