NTScan is a Windows directory scanner focused on producing fast, aggregated size reports for NTFS volumes. It can operate in a traditional CLI mode or via an interactive TUI that keeps the current progress front and centre.
- Parallel traversal of directory trees with cooperative cancellation
- Two scanning modes:
fast(metadata only) andaccurate(ADS + allocation) - Interactive TUI with sorting by name, size, or modification date
- Cycle guard for junctions and symlinks to avoid infinite recursion
- Detailed error accounting for access, sharing, and ADS failures
- Install the latest stable Rust toolchain on Windows (
rustup default stable). - Clone the repository and fetch the dependencies:
git clone https://github.com/nesuwu/NTScan.git cd NTScan cargo fetch
cargo run --release -- "C:\Data"cargo run --release -- --accurate "C:\Data"cargo run --release -- --follow-symlinks "C:\Data"cargo run --release -- --debug "C:\Data"Up/Down: Move selectionPageUp/PageDown: Scroll by a viewport-sized pageHome/End: Jump to the first or last entrys: Cycle sorting mode (Name → Size → Date)qorEsc: Quit (Ctrl+C also cancels the scan)
Run the full quality gate locally before opening a PR:
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
cargo testThe test run includes unit tests, integration tests, and documentation tests.
NTScan is distributed under the terms of the MIT License.