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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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