Skip to main content

Human-friendly summary of disk usage.

Project description

This software computes an estimate of the file disk usage for files and directories, similarly to the UNIX program ‘du’. The result is then displayed to the console in a human friendly format.

It includes the following features:

  • a progress bar of each item for quick visual inspection

  • percentage information (precision can be set)

  • show the size of each item in the specified units

  • support for SI, IEC and UNIX (‘du’) units

  • maximum depth (of the displayed items) can be specified

  • optionally follow symlinks, mount points, special files and hidden files

  • can filter results to display only directories

  • can output results ending with ‘\0’ instead of newlines (useful for parsing)

  • can sort results by name or by size

Installation

The recommended way of installing the software is through PyPI:

$ pip install hdu

Alternatively, you can the clone the source repository from Bitbucket:

$ mkdir hdu
$ cd hdu
$ git clone git@bitbucket.org:norok2/hdu.git
$ python setup.py install

(last step may require additional permissions depending on your configuration)

Note

Although the software is ready, the packaging is still experimental. If you have any issues or suggestion, please contact the authors.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

hdu-0.2.3.8-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hdu-0.2.3.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hdu-0.2.3.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 937f913aba823d62b0243fd84211462634c4e99fc229d1ed49f926851e3c479c
MD5 0847995a05beff0f4ac02fb69520e904
BLAKE2b-256 1c66e5bf8bb7a95ad3fe621373de8fb7ed187eea2572842ab2d4aefc1bf9836e

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