A utility for analyzing disk space via the CLI.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file diskspaced-0.0.14.tar.gz.
File metadata
- Download URL: diskspaced-0.0.14.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.11 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a5ec9d49fa534525085819b1d5a14143897407733743b3776e7b6aab1989cf3
|
|
| MD5 |
8062a1f342957a37ffc6eff21c3cd321
|
|
| BLAKE2b-256 |
5387203131dd8c12dcfea92ebb02cc80bf571f5094d4637eb53c1d644f269fad
|
File details
Details for the file diskspaced-0.0.14-py3-none-any.whl.
File metadata
- Download URL: diskspaced-0.0.14-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.11 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d970dd443f2a52dab700645e63ce2a271e30d444092ba296ac809955123bc64a
|
|
| MD5 |
2c9c86a5990554994466e4a37313e24a
|
|
| BLAKE2b-256 |
f929e3723449732ebb591f97bce28832cb39219da8d86b4a83e968c3a26a8f00
|