Coder Social home page Coder Social logo

hdu's Introduction

hdu: Human-friendly summary of disk usage

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 GitHub:

$ mkdir hdu
$ cd hdu
$ git clone [email protected]:norok2/hdu.git
$ python setup.py install

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

The shoftware does not have additional dependencies beyond Python and its standard library.

It was tested with Python 2.7 and 3.5. Other version were not tested.

Note

Although the software is ready, the packaging is still experimental. If you experience any issues, please consider reporting it. Suggestions and improvements are welcome!

hdu's People

Contributors

norok2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.