Skip to main content

diskspaced

This is a Python based CLI utility to find what is taking space on your disk. It's originally designed to export into a format that GrandPerspective can render, but the exports can be XML (for GrandPerspective) or JSON.

Simply install via pip (or package management tool of your choice), then run:

diskspaced --folder-path / --output-path output.xml --format grandperspective

This will run through your disk and write out the results. Running with sudo gives the most accurate results.

Note: Windows is not supported by this tool.

Required options

  • --folder-path - The root folder to start off with. Usually set to /
  • --output-path - The file to write the output to.
  • --format - The output file format. Currently JSON or GrandPerspective. (json and grandperspective respectively)

Other options

  • --pretty-print - Set this to pretty print the output (if supported by the format) - Note that this is a post processing step rather than an inline step.
  • --print-after-n-files N - Printing every file processed would make the entire process take several orders of magnitude longer. Instead, if you'd like to see output, you can set this flag, and give a value N and it will print every Nth file.
  • --alphabetical - This ensures that the output order is alphabetical (i.e. stable). This is only really useful if you plan on diffing outputs.

Metadata

Release files for diskspaced 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diskspaced 0.0.14
File Size Uploaded Provenance Actions
diskspaced-0.0.14.tar.gz 9.1 kB Without provenance Details for diskspaced-0.0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diskspaced 0.0.14
File Interpreter ABI Platform Actions
diskspaced-0.0.14-py3-none-any.whl Python 3 none any Details for diskspaced-0.0.14-py3-none-any.whl

Total release size: 20.5 kB

Release files / diskspaced-0.0.14.tar.gz

Download URL diskspaced-0.0.14.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7a5ec9d49fa534525085819b1d5a14143897407733743b3776e7b6aab1989cf3
BLAKE2b-256 checksum
How to use checksums
5387203131dd8c12dcfea92ebb02cc80bf571f5094d4637eb53c1d644f269fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.11 Darwin/24.5.0

Release files / diskspaced-0.0.14-py3-none-any.whl

Download URL diskspaced-0.0.14-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d970dd443f2a52dab700645e63ce2a271e30d444092ba296ac809955123bc64a
BLAKE2b-256 checksum
How to use checksums
f929e3723449732ebb591f97bce28832cb39219da8d86b4a83e968c3a26a8f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.11 Darwin/24.5.0

Security for diskspaced 0.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page