Loading...
Loading...
Compare original and translation side by side
rm -rfosascript -e 'tell application "Finder" to delete POSIX file "/Applications/App.app"'.gitgit branch -d.git/System/Library/usr/bin/sbinsudorm -rf ~/Downloads/*rm -rfosascript -e 'tell application "Finder" to delete POSIX file "/Applications/App.app"'.gitgit branch -d.git/System/Library/usr/bin/sbinsudorm -rf ~/Downloads/*uname -m/opt/homebrew/usr/localwhich brew npm pnpm yarn bun uv pip3 cargo go pyenv/Applications/~/developer~/Developer~/dev~/projects~/Projects~/src~/code~/workspace~/reposshutil.which()whichuname -m/opt/homebrew/usr/localwhich brew npm pnpm yarn bun uv pip3 cargo go pyenv/Applications/~/developer~/Developer~/dev~/projects~/Projects~/src~/code~/workspace~/reposshutil.which()whichuv run .agents/skills/mac-cleanup/scripts/scan.py \
--dev-dirs <discovered_dirs> \
--stale-days <threshold> \
--skip <protected_paths>uvpython3df -h /du -sh ~/Library/Caches ~/Library/Logs ~/.cache ~/.npm ~/.Trash ~/Downloadsreferences/cleanup-catalog.mduv run .agents/skills/mac-cleanup/scripts/scan.py \
--dev-dirs <discovered_dirs> \
--stale-days <threshold> \
--skip <protected_paths>uvpython3df -h /du -sh ~/Library/Caches ~/Library/Logs ~/.cache ~/.npm ~/.Trash ~/Downloadsreferences/cleanup-catalog.md| Category | Item | Size | Risk | Status |
|---|---|---|---|---|
| Package caches | Homebrew | 3.2 GB | safe | 12 stale items |
| System caches | ~/Library/Caches | 8.1 GB | moderate | Top: Xcode (4 GB) |
| Dev artifacts | node_modules (5 stale) | 2.3 GB | safe | >90 days old |
| Docker | Images + containers | 15 GB | moderate | 8 unused images |
| Trash | ~/.Trash | 1.2 GB | moderate | |
| Downloads | ~/Downloads | 4.5 GB | high | 127 items |
| 类别 | 项目 | 大小 | 风险 | 状态 |
|---|---|---|---|---|
| 包管理器缓存 | Homebrew | 3.2 GB | 安全 | 12项过期内容 |
| 系统缓存 | ~/Library/Caches | 8.1 GB | 中等 | 占用最大:Xcode(4 GB) |
| 开发产物 | node_modules(5项过期) | 2.3 GB | 安全 | 超过90天未修改 |
| Docker | 镜像 + 容器 | 15 GB | 中等 | 8个未使用镜像 |
| 废纸篓 | ~/.Trash | 1.2 GB | 中等 | |
| 下载目录 | ~/Downloads | 4.5 GB | 高 | 127个项目 |
references/cleanup-catalog.md~/Library/Logs__pycache__.pytest_cache~/Library/Cachesdocker system df| App | Size | Description |brew info --jsonmdls -name kMDItemCFBundleIdentifier /Applications/AppName.apposascript -e 'tell application "Finder" to delete POSIX file "/Applications/AppName.app"'~/Library/Application Support/<AppName>~/Library/Caches/<bundleid>~/Library/Preferences/<bundleid>.plist~/Library/HTTPStorages/<bundleid>~/Library/Logs/<AppName>~/Library/Containers/<bundleid>~/Library/Group Containers/<bundleid>~/Library/Saved Application State/<bundleid>.savedState~/Library/WebKit/<bundleid>references/cleanup-catalog.md~/Library/Logs__pycache__.pytest_cache~/Library/Cachesdocker system dfbrew info --json| 应用 | 大小 | 描述 |mdls -name kMDItemCFBundleIdentifier /Applications/AppName.apposascript -e 'tell application "Finder" to delete POSIX file "/Applications/AppName.app"'~/Library/Application Support/<AppName>~/Library/Caches/<bundleid>~/Library/Preferences/<bundleid>.plist~/Library/HTTPStorages/<bundleid>~/Library/Logs/<AppName>~/Library/Containers/<bundleid>~/Library/Group Containers/<bundleid>~/Library/Saved Application State/<bundleid>.savedState~/Library/WebKit/<bundleid>open -a Dockerdocker info/usr/localdudf~/.cache/huggingfaceopen -a Dockerdocker info/usr/localdudf~/.cache/huggingfacerm -rf /.gitsudo~/Library/Application Support~/Library/Application Support~/Library/Containersrm -rf /.gitsudo~/Library/Application Support~/Library/Application Support~/Library/Containers