diskuh
du, but with attractive human-readable output — numeric sizes plus a
proportional graphical bar per entry — and an optional full-screen TUI.
Install (dev)
henv --name duh-dev -x python -m pip install -e ".[dev]"
Usage
diskuh [PATH] # human-readable sizes + bars, sorted by size desc
# (top-level entries only by default: depth 1)
diskuh --depth 2 [PATH] # go deeper (sizes are always accurate regardless of depth)
diskuh --depth 0 [PATH] # unlimited depth: every directory, recursively (the old default)
diskuh --head 10 [PATH] # show only the 10 largest entries
diskuh --tail 10 [PATH] # show only the 10 smallest entries
diskuh --terse [PATH] # plain "size<TAB>path" output, script/pipe friendly
diskuh --no-cache [PATH] # bypass the cache; force a fresh full scan
diskuh --tui [PATH] # launch the full-screen TUI
diskuh-tui [PATH] # same TUI, dedicated entry point
dhx [PATH] # short alias for diskuh (identical, same flags)
dhx-tui [PATH] # short alias for diskuh-tui
Scan results are cached in a SQLite database at ~/.diskuh/cache.sqlite3,
keyed on a per-directory metadata fingerprint (name/type/size/mtime of each
directory's immediate children) so repeat scans skip re-reading unchanged
subtrees. See src/diskuh/cache.py for the exact staleness algorithm and its
documented limitations.
In the TUI, press d on a selected entry to delete it (after confirmation).
Deletion is permanent — there is no trash/undo.
Development
henv --name duh-dev -x pytest -v
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 diskuh-0.1.1.tar.gz.
File metadata
- Download URL: diskuh-0.1.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e300eefc778960a277bddc7a2b2d1aa2604f7ef32378e692d622f0ffe6d675cb
|
|
| MD5 |
5c26fc6560b3e639c0711917bd7d25c2
|
|
| BLAKE2b-256 |
b2a61672354772937711d96e1ddd9345347c08cc41c24220a39054dd15d9e490
|
Provenance
The following attestation bundles were made for diskuh-0.1.1.tar.gz:
Publisher:
publish.yml on matplo/diskuh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
diskuh-0.1.1.tar.gz -
Subject digest:
e300eefc778960a277bddc7a2b2d1aa2604f7ef32378e692d622f0ffe6d675cb - Sigstore transparency entry: 2736653136
- Sigstore integration time:
-
Permalink:
matplo/diskuh@7aac2611f6713bd6c5343aed500db231f40f731f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/matplo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7aac2611f6713bd6c5343aed500db231f40f731f -
Trigger Event:
push
-
Statement type:
File details
Details for the file diskuh-0.1.1-py3-none-any.whl.
File metadata
- Download URL: diskuh-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4ecbb4d09665c00299a713043f16f20824f919ef617fdd16f74a08c920e6b10
|
|
| MD5 |
230e3f7fbe6244eea9e846db1561461e
|
|
| BLAKE2b-256 |
4b1022fc24934de4aff6e86d6ab9977da59d3031d716fa66f27595a5bd5c7ed7
|
Provenance
The following attestation bundles were made for diskuh-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on matplo/diskuh
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
diskuh-0.1.1-py3-none-any.whl -
Subject digest:
e4ecbb4d09665c00299a713043f16f20824f919ef617fdd16f74a08c920e6b10 - Sigstore transparency entry: 2736653141
- Sigstore integration time:
-
Permalink:
matplo/diskuh@7aac2611f6713bd6c5343aed500db231f40f731f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/matplo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7aac2611f6713bd6c5343aed500db231f40f731f -
Trigger Event:
push
-
Statement type: