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. (jsonandgrandperspectiverespectively)
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 valueNand it will print everyNth 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)
| File | Size | Uploaded | |
|---|---|---|---|
| diskspaced-0.0.14.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|