No matter where you have your project folders, this python script will find them!

# mvRepos

Consolidate git project folders into one destination root.

## Requirements
- Python 3.11+ (uses `tomllib`)
- Linux or Windows

## Quick start
1. Edit `mvRepos.cfg` (set `searchRootDirsWin` and/or `searchRootDirsLinux`)
2. Dry run:
- `python mvRepos.py --dry-run`
3. Real run:
- `python mvRepos.py`

## Key behaviors
- Transactional move: copy -> verify -> rename -> delete
- Includes `.git` in verification by default
- Nested repos are treated as an error (parent skipped)
- Logs to STDOUT and `mvRepos.log` in the current working directory

## Common overrides
- Override scan roots:
- `python mvRepos.py --f "D:/projects" "E:/repos" --d "D:/ConsolidatedProjects"`
- Follow symlinks:
- `python mvRepos.py --follow-symlinks`
- Resume:
- `python mvRepos.py --resume`

Project Activity

See All Activity >

Follow Move Git Repos

Move Git Repos Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Move Git Repos!

Additional Project Details

Registered

2026-01-25