Skip to main content

Show disk usage of a directory's immediate children.

Project description

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)

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.

Project details


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.1.0.tar.gz (2.3 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.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dsz-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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.1.0.tar.gz
Algorithm Hash digest
SHA256 780ec04585a1c01c09df4bbd79245e89a8b0c15fbcac2e1f53c12ff310a7c3ee
MD5 e732cb0d039dcfbbeb29552e0fa6433b
BLAKE2b-256 fb49b4038b13514e934659dff992a68ee026d36eb118dba2529d0bb27f69736f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dsz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e80ab5566011a083a5f97f332afc04a4b1ed2f446828c20eb1935324060f4b0d
MD5 eb18c2eebf17e7c06f13f103b7ca4811
BLAKE2b-256 0e098911cd2a6628e153d557dae43caeccf35a99b918e5ac96dc82dd91705554

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