#xml #generate #compatible #file #linux #recursion #grand-perspective

bin+lib gpscan

A tool to generate XML files compatible with GrandPerspective

2 releases

0.0.6 Oct 17, 2024
0.0.5 Oct 11, 2024
0.0.4 Oct 10, 2024

#513 in Filesystem

Download history 352/week @ 2024-10-07 180/week @ 2024-10-14 7/week @ 2024-10-21 6/week @ 2024-11-04

211 downloads per month

MIT license

21KB
491 lines

gpscan

Cargo Build & Test Crates.io Crates.io

Scan your Linux filesystem and get an XML file compatible with GrandPerspective on macOS to visualize disk usage.

  • Recursively scans directories and files
  • Generates XML output compatible with GrandPerspective
  • Skips symbolic links to prevent infinite loops
  • Handles file permissions and errors

Installation

Downloading

You can download prebuilt binaries in the GitHub Releases.

Building

cargo install gpscan

Usage

Basic usage

gpscan ./foo > result.gpscan
  1. Transfer the result.gpscan file to your Mac.
  2. Open it in GrandPerspective.

Development

git clone https://github.com/kojix2/gpscan.git
cd gpscan
cargo build --release

License

MIT

This project was created using the full assistance of ChatGPT.

Dependencies

~5MB
~88K SLoC