Automated build artifact cleanup for development projects. Remove temporary files, caches, and build outputs with intelligent detection.
$ build-cleanup --dry-run
Would remove:
- target/ (245 MB)
- node_modules/.cache/ (128 MB)
Total: 507 MB
$ build-cleanup
Removed 507 MB of build artifacts ✓
Keep your workspace clean automatically
Preview what would be deleted before committing. See exactly what files and directories will be affected.
Automatically detects and cleans build artifacts for Rust, Node.js, Python, Java, Go, and more.
Define custom patterns and directories for projects with unique build structures.
Detailed reporting of space reclaimed. See exactly how much disk space will be freed.
Only removes known build artifacts and temporary files. Never touches source code or important configurations.
Detailed output showing every action taken. Perfect for debugging and understanding what's being cleaned.
Automatically detects and cleans artifacts from popular build tools
target/, Cargo.lock
node_modules/, dist/, .cache/
__pycache__/, *.pyc, pytest_cache/
target/, build/
Simple commands for powerful cleanup
$ build-cleanup --dry-run
$ build-cleanup
$ build-cleanup --custom "build,*.tmp"
$ build-cleanup --verbose
Get build-cleanup and reclaim disk space with one command.
More Tools
Fast line/word/character counter
Cross-platform path finder
Blazing-fast text search
Smart build artifact cleanup (this page)