常用命令速查
只读或预览
bash
mo --help
mo --version
mo status
mo status --json
mo analyze
mo analyze ~/Downloads
mo analyze --json ~/Documents
mo history
mo history --json
mo clean --dry-run
mo purge --dry-run
mo installer --dry-run
mo uninstall --list
mo uninstall --dry-run "应用名"
mo optimize --dry-run
mo slim --dry-run
mo touchid status1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
配置入口
bash
mo clean --whitelist
mo optimize --whitelist
mo purge --paths
mo completion --dry-run1
2
3
4
2
3
4
可能修改或删除内容
bash
# 以下仅展示语法,切勿直接批量执行!
mo clean # 默认永久删除,且可能清空 ~/.Trash
mo purge # 交互确认后永久删除项目产物
mo installer # 选择确认后永久删除安装包
mo uninstall "应用名" # 默认移动应用及经确认的关联文件至废纸篓
mo optimize # 执行系统维护
mo slim # 改动经筛选的应用,原应用转移到废纸篓1
2
3
4
5
6
7
2
3
4
5
6
7
注意: mo clean --categories、--select、--exclude 已在当前基线移除;需要保护某条路径时应配置白名单。