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`
Downloads:
0 This Week