github tw93/Mole V0.9.0-linux
V0.9.0-linux Solid

latest releases: V1.48.0-windows, V1.76.0
one hour ago
Mole Logo

Mole CLI for Linux

Deep clean and optimize your Linux desktop.

Changelog

  1. Stronger cleanup and path protection: mo clean keeps Coursier JDK/sbt stores, PDM installed packages and plugins, Chromium extension and Service Worker script/database stores, and active TypeScript and Rustup caches, requires structural markers for custom CARGO_HOME, rejects pipe or control-byte injection in XDG_*, CARGO_HOME, and COREPACK_HOME, and closes trailing-slash and traversal gaps in protected-path checks alongside ~/.aws, ~/.kube/config, ~/.claude, and ~/.codex user stores.
  2. Faster and clearer mo analyze: lists support Page Up and Page Down navigation, scroll margin, and 80-column terminal fit; Old Downloads sizing stays age-filtered and refreshes accurately; overlapping JSON overview totals count once; bare CACHEDIR.TAG backup-exclusion folders are no longer marked cleanable; and malformed UTF-8 names stay within the column budget.
  3. Smarter mo purge and mo status: mo purge excludes home-root cloud sync folders, ignores .DS_Store metadata timestamps, and highlights unconfigured default folders in --paths; mo status marks timed-out or unreadable XDG Trash scans as approximate.
  4. Other fixes: byte formatting steps up cleanly to 1.0MB and 1.00GB instead of 1000KB or 1000.0MB, /tmp socket checks retry on EINTR, and appfiles.json ships with the release archive.

更新日志

  1. 清理与路径保护加固:mo clean 现保留 Coursier 的 JDK 与 sbt 缓存、PDM 已安装包与插件、Chromium 扩展与 Service Worker 脚本/数据库存储,以及活跃的 TypeScript 与 Rustup 缓存;自定义 CARGO_HOME 需带结构标记,XDG_*、CARGO_HOME 与 COREPACK_HOME 拒绝管道符与控制字符注入;受保护路径校验修复尾斜杠与遍历缺口,并补齐 ~/.aws、~/.kube/config、~/.claude 与 ~/.codex 用户数据保护。
  2. mo analyze 体验与准确性提升:列表支持 Page Up / Page Down 翻页、滚动留白与 80 列终端适配;Old Downloads 保持按时间过滤并准确刷新;JSON 总览不重复计入重叠目录;仅带通用 CACHEDIR.TAG 的备份排除目录不再标为可清理,并修复异常 UTF-8 文件名导致的列宽越界。
  3. mo purge 与 mo status 改进:mo purge 自动跳过主目录下的云同步文件夹,忽略 .DS_Store 元数据时间戳,并在 --paths 中标出未配置的默认目录;mo status 在 XDG 废纸篓扫描超时或遇不可读目录时标记为估算值。
  4. 其他修复:字节格式化在进位边界正确显示 1.0MB 和 1.00GB(不再出现 1000KB 或 1000.0MB),/tmp 套接字检测支持 EINTR 重试,发布包附带 appfiles.json。

Thanks

Issue reporters and PR contributors this cycle: @Yuxin-Qiao · @forthrin · @NotAFlightRisk.

Install

curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bash

Mole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.

Don't miss a new Mole release

NewReleases is sending notifications on new releases.