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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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