Nettoyage automatique hebdomadaire pour macOS : caches Homebrew/Go/pip/Docker, node_modules et dossiers target/ inactifs depuis 30 jours.
brew tap Bxota/mac-cleanup https://github.com/Bxota/mac-cleanup
brew install mac-cleanup
brew services start mac-cleanupLe LaunchAgent se lance automatiquement chaque samedi à 10h00.
# Lancement immédiat
mac-cleanup
# Simulation sans suppression
mac-cleanup --dry-runls ~/.local/share/mac-cleanup/brew services stop mac-cleanup
brew uninstall mac-cleanup
brew untap Bxota/mac-cleanup| Cible | Condition |
|---|---|
| Chrome OptGuideOnDeviceModel | Toujours |
| Claude vm_bundles + Cache | Toujours |
Homebrew (brew cleanup --prune=all) |
Toujours |
| Go build cache | Si go installé |
| pip cache | Si pip3 installé |
| Docker prune | Si Docker actif |
node_modules/ |
Projet inactif >30j |
Rust target/ |
Projet inactif >30j |