sweep is a safe, local-first folder inspection tool.
It helps you understand clutter in folders such as Downloads or Desktop without moving, renaming, copying, or deleting anything.
Install the sweep command locally:
cargo install --path .This installs the binary to:
~/.cargo/bin/sweep
If sweep is not found after installing, load Cargo's environment:
source "$HOME/.cargo/env"Build without installing:
cargo build --releaseThe release binary is written to:
target/release/sweep
Inspect a folder:
sweep inspect ~/DownloadsGenerate Markdown and JSON reports:
sweep inspect ~/Downloads --markdown ~/Desktop/downloads-report.md --json ~/Desktop/downloads-report.jsonFind duplicate candidates:
sweep duplicates ~/Downloads
sweep duplicates ~/Downloads --hashList large or old files:
sweep large ~/Downloads --over 500mb
sweep old ~/Downloads --older-than 90dSummarise file types:
sweep types ~/DownloadsThe MVP is read-only.
It does not:
- move files
- rename files
- copy source files
- delete files
- follow symlinks by default
- scan recursively by default
- scan sensitive paths by default
- make network calls
Every terminal and Markdown report ends with:
No files changed.