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)
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
can filter results to display only directories
can filter results to hide hidden files (starting with ‘.’)
can output results ending with ‘\0’ instead of newlines (useful for parsing)
can sort results by name or by size
Note
Although the software is ready, the packaging is still experimental. If you have any issues or suggestion, please contact the authors.
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for hdu-0.2.2.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1770008cd97f779eab0be7ec072e133072f08054551251bbf64082edf884c80 |
|
MD5 | ce2315bcaa1e88ecd13d09826dba06c8 |
|
BLAKE2b-256 | 779e5f56e41130667c0f4cccd62694eae191b4cbdd85b693cd2cab4ca1950941 |