Skip to main content

dsz

Show disk usage of a directory's immediate children, sorted by size.

Installation

uv tool install dsz

Usage

dsz [PATH] [--min-percent N]
  • PATH — directory to scan (default: current directory)
  • --min-percent N — collapse entries below N% of the total into a single <other> line (default: 1.0; N must be between 0 and 100)

Example

$ dsz ~
/home/user    24.2 GB
   18.2 GB  75% Videos               ###############
    4.1 GB  17% Documents            ###
    1.6 GB   7% Downloads            #
  312.4 MB   1% <other 5>

Hidden entries (dot files and directories) and symlinks are excluded from all counts. Drill into a subdirectory by passing it as PATH.

Metadata

Release files for dsz 0.2.1

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

Source distribution (sdist)

Source distribution for dsz 0.2.1
File Size Uploaded
dsz-0.2.1.tar.gz 6.0 kB Details

Built distribution (wheel)

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

Total release size: 12.3 kB

Release files / dsz-0.2.1.tar.gz

Download URL dsz-0.2.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ec78862d832718da54459abc28f73376a4b42a78433048a774ecc94bc1c77ae1
BLAKE2b-256 checksum
How to use checksums
eb2e327dcd201b7a4d494513b2ad104b29128685adf3f68bfce026dab5667e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / dsz-0.2.1-py3-none-any.whl

Download URL dsz-0.2.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0ef0afb7fd860863cd8d598cbad485ecf37f0c2f7f4762b00fb21f52d5584be
BLAKE2b-256 checksum
How to use checksums
45431dbc8a4567e9e5ee917bdb24f69f335ffa0f853a98bc1124c496e67adb86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

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