🦀 ClawHub
Storage Cleanup
by @camopel
One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user a...
💡 Examples
# Preview what would be cleaned (safe, changes nothing)
bash scripts/cleanup.sh --dry-runClean everything
bash scripts/cleanup.sh --yesClean but keep Docker and old kernels
bash scripts/cleanup.sh --yes --skip-docker --skip-kernels
⚙️ Configuration
| Flag | Effect |
|------|--------|
| --dry-run | Preview cleanup without deleting anything |
| --yes / -y | Run without confirmation prompts |
| --skip-kernels | Don't remove old kernels (Linux) |
| --skip-snap | Don't remove disabled snap revisions (Linux) |
| --skip-docker | Don't prune Docker |
| --skip-brew | Don't clean Homebrew |
TERMINAL
clawhub install storage-cleanup