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.

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
diskspaced-0.0.14.tar.gz 9.1 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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