Sucht nach großen Dateien und Ordnern
Analyzes disk usage to find large files and folders for freeing up storage space.
/plugin marketplace add fellnerd/claude-marketplace/plugin install my-mac-plugin@dimetrics-marketplaceFindet große Dateien und Ordner um Speicherplatz freizugeben.
# Gesamter Speicher
df -h /
# Home-Verzeichnis Größe
du -sh ~
du -sh ~/* 2>/dev/null | sort -hr | head -15
du -sh {{PATH}}/* 2>/dev/null | sort -hr | head -15
find ~ -type f -size +100M 2>/dev/null | head -20 | while read f; do
du -sh "$f"
done
echo "=== Entwickler-Caches ==="
du -sh ~/Library/Caches 2>/dev/null
du -sh ~/Library/Developer 2>/dev/null
du -sh ~/.npm 2>/dev/null
du -sh ~/.gradle 2>/dev/null
du -sh ~/.cargo 2>/dev/null
du -sh ~/Library/Application\ Support/Docker 2>/dev/null
echo ""
echo "=== Downloads & Trash ==="
du -sh ~/Downloads 2>/dev/null
du -sh ~/.Trash 2>/dev/null
find ~ -name "node_modules" -type d -prune 2>/dev/null | while read dir; do
du -sh "$dir"
done | sort -hr | head -10
⚠️ Zeige zuerst die Dateien, frage dann nach Bestätigung!
# Anzeigen
find ~/Downloads -type f -mtime +30 -exec ls -lh {} \;
# Löschen (nach Bestätigung)
find ~/Downloads -type f -mtime +30 -delete