1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-10 15:29:17 +00:00

🎨 Add cache whitelist for large models

This commit is contained in:
Tw93
2025-10-04 19:39:15 +08:00
parent 5d619d79a2
commit 4ac01b2260
3 changed files with 20 additions and 4 deletions

View File

@@ -86,11 +86,11 @@ $ mole clean
**Protect important files:**
```bash
# View whitelist
# View default whitelist (Playwright browsers, HuggingFace models, etc.)
mole clean --whitelist
# Add protection
echo '~/Library/Caches/ms-playwright*' >> ~/.config/mole/whitelist
# Add custom protection
echo '~/my-important-cache/*' >> ~/.config/mole/whitelist
```
### 🗑️ Smart App Uninstaller
@@ -150,6 +150,7 @@ Total: 156.8GB
- System-critical files like Input Methods, Dock, and System Preferences
- User data from IDEs like JetBrains DataGrip and VS Code, plus database tools
- License data from paid apps like 1Password and Adobe products
- Large downloaded caches like Playwright browsers and HuggingFace models
- App settings are only removed when you explicitly uninstall the app
2. **Can I undo cleanup operations?** - Cache files are safe to delete and will regenerate automatically. For important data protection, use the whitelist feature via `mole clean --whitelist`.
3. **How often should I run cleanup?** - Once a month is sufficient. Run when disk space is low.