| Crates.io | gpscan |
| lib.rs | gpscan |
| version | 0.1.0 |
| created_at | 2024-10-10 04:07:58.319394+00 |
| updated_at | 2025-09-12 03:55:37.29948+00 |
| description | A tool to generate XML files compatible with GrandPerspective |
| homepage | |
| repository | https://github.com/kojix2/gpscan |
| max_upload_size | |
| id | 1403430 |
| size | 93,809 |
Scan your filesystem and get an XML file compatible with GrandPerspective on macOS to visualize disk usage.
You can download prebuilt binaries in the GitHub Releases.
cargo install gpscan
gpscan [OPTIONS] <directory>
Typical commands:
# File output (gzip by default, .gpscan is auto-appended)
gpscan . -o result
# Plain text file output (no gzip)
gpscan . -o result --no-gzip
# Gzip to stdout (useful for piping/redirect)
gpscan . -z > result.gpscan
Then open the generated file in GrandPerspective.
Notes:
--force. -o, --output <FILE> Output file (gzip by default, adds .gpscan)
-A, --apparent-size Use apparent size instead of disk usage
-m, --mounts Cross filesystem boundaries during scan
-Z, --zero-files Include zero-byte files in scan
-E, --empty-folders Include empty folders in scan
-q, --quiet Suppress all informational messages
-z, --gzip Gzip-compress stdout (file output is gzip by default)
--compression-level <0-9> Gzip level for output (default: 6)
--no-gzip Disable gzip for file output
-f, --force Overwrite output file without prompt
-h, --help Print help
-V, --version Print version
RUST_LOG: Set logging level (e.g., RUST_LOG=debug gpscan /path)git clone https://github.com/kojix2/gpscan.git
cd gpscan
cargo build --release
This project includes code generated by AI tools.