1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 01:49:00 +00:00

feat: Exclude External Disks from Analyze (#428)

Created optional flag `--exclude-volumes` for `mo analyze` to consent the users to analyze the filesystem without taking in consideration attached Volumes.
Normal behaviour (with volumes included) is left untouched.
This commit is contained in:
Andrei Murariu
2026-02-10 09:28:33 +02:00
committed by GitHub
parent 9aa5a0a69d
commit 37bdc6edf7
4 changed files with 22 additions and 11 deletions

View File

@@ -68,6 +68,7 @@ mo optimize --dry-run # Preview optimization actions
mo optimize --debug # Run with detailed operation logs
mo optimize --whitelist # Manage protected optimization rules
mo purge --paths # Configure project scan directories
mo analyze --exclude-volumes # Skip external drives under /Volumes in overview
```
## Tips
@@ -149,6 +150,8 @@ Use `mo optimize --whitelist` to exclude specific optimizations.
### Disk Space Analyzer
Use `--exclude-volumes` to skip external drives under `/Volumes` in the overview (faster when many volumes are attached).
```bash
$ mo analyze