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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsz-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dsz-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file dsz-0.2.0.tar.gz.

File metadata

  • Download URL: dsz-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dsz-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bbe52e9add74df06138a924b03eadd1d6b2efc5fd5ba65f85d6eedab400881e1
MD5 38c6e3cf5e02be09f4eb40652d6772d5
BLAKE2b-256 a06dfa46cfef1dadbd8c7171a5ed91804267edad1083c4c170c137aa161faa95

See more details on using hashes here.

File details

Details for the file dsz-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dsz-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dsz-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcbaa17b75b08bddf6f29e01463ac5631b7bee200469a269c98cccadf7165eb6
MD5 9b2685a67e572078ddbe7935db1c332a
BLAKE2b-256 23348041ddcf280af36de38cdb6e75e3952b7ef799fcb40585c1dde782e3bc5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page