Repository navigation
Changelog
- Cleaning progress names the item:
mo cleanshows the section, the position and the item being removed, such asCleaning User app cache 3/12 · com.microsoft…ShipIt, so a long removal no longer looks stuck. - Online-only folders are skipped: iCloud placeholders in Documents, online-only CloudStorage providers and Next.js cache entries that live only in the cloud are no longer downloaded during
mo clean, which ends the hangs and the skipped CloudStorage project caches. - Accurate totals: Rows that print their own size and the space Homebrew cleanup reports freeing now count in the
mo cleantotal. - Previews name what they skipped:
mo clean --dry-runends with the families it left out while Xcode or the Simulator was open, so a later real run no longer removes paths the preview never listed. - Clearer memory diagnosis:
mo optimizejudges memory by the macOS pressure level instead of swap use and lists the apps holding the most on one line, and WindowServer and CoreSimulator disk images are no longer reported as bottlenecks. - Safer cleanup: A privileged helper is not offered when Spotlight cannot confirm its app is gone,
mo analyzerefuses to move the temporary folders ssh-agent and tmux depend on, and apps without aContentsfolder, such as NetBird, no longer skip App leftovers. - More caches and records: Postman HTTP and code caches are cleaned, cleanups run through gh, go, simctl, tart and Homebrew appear in
mo history, and terminals that support OSC 7501 show the cleanup state. - Other fixes: The uninstall confirm screen shows the personal data key on its heading and redraws cleanly after choosing, paths next to the home folder are no longer shortened to
~, and logged sizes step up to the next unit at 1000KB and 1000MB.
更新日志
- 清理进度显示当前项目:
mo clean显示所在栏目、进度和正在清理的项目,例如Cleaning User app cache 3/12 · com.microsoft…ShipIt,耗时较长的清理不再像是卡住。 - 跳过仅存于云端的文件夹:
mo clean不再下载 Documents 中的 iCloud 占位文件、仅在线的 CloudStorage 云盘和只存在云端的 Next.js 缓存,扫描不再卡住,CloudStorage 中的项目缓存也不再被整体跳过。 - 总量统计更准确:自行显示大小的条目和 Homebrew 清理报告释放的空间现在计入
mo clean的总量。 - 预览注明跳过的内容:Xcode 或模拟器运行时,
mo clean --dry-run会在末尾列出未纳入预览的类别,之后的正式清理不再删除预览中没有列出的路径。 - 内存诊断更清晰:
mo optimize按 macOS 内存压力等级而不是 swap 用量判断内存,并在一行内列出占用最多的应用,WindowServer 和 CoreSimulator 磁盘镜像不再被报告为瓶颈。 - 清理更安全:Spotlight 无法确认对应应用已删除时不再提供特权辅助程序,
mo analyze拒绝移动 ssh-agent 和 tmux 依赖的临时文件夹,NetBird 这类没有Contents文件夹的应用不再导致跳过应用残留检查。 - 覆盖更多缓存与记录:清理 Postman 的 HTTP 与代码缓存,经由 gh、go、simctl、tart 和 Homebrew 完成的清理会出现在
mo history中,支持 OSC 7501 的终端会显示清理状态。 - 其他修复:卸载确认页把个人数据的按键提示放在标题上并在选择后完整重绘,与主目录同级的路径不再被缩写为
~,日志中的大小在 1000KB 和 1000MB 时进位到下一个单位。
Thanks
Issue reporters and PR contributors this cycle: @viniciusdsandrade · @Yuxin-Qiao · @r266-tech · @Dev-next-gen · @osamakaram · @RaghuVatsavai · @valentynapolienova · @sebastianbreguel · @goul4rt · @TyceHerrman · @erickquintanar05.
Mole Mac App
If you would rather work in a window than a terminal, Mole Mac App covers cleaning, app removal, maintenance, disk analysis and live status, shows everything before it deletes, and adds tools in the menu bar. It costs $19 once, with free updates and a 14-day refund, and you can download it here. The CLI stays free and open source.
