Giter Site home page Giter Site logo

disk-usage-again's Introduction

disk usage again(dua)

dua is a rewrite of the gnu version of du. It aims to be at least compatible with gnu du. It aims to be fast.

dua also happens to be โ€œtwoโ€ in bahasa I believe, making it disk usage 2 :P

Current state


USAGE:
    dua [FLAGS] [OPTIONS] <PATHS>...

FLAGS:
    -a, --all               display an entry for each file in the file hierachy
        --apparent-size     print apparent sizes,  rather  than  disk	 usage;	 although  the
                            	      apparent	size is	usually	smaller, it may	be larger due to holes
                            	      in (`sparse') files, internal  fragmentation,  indirect  blocks,
                            	      and the like
    -0, --null              end each output line with NUL, not newline
    -L                      Symbolic links on the command line and in file hierarchies are
                                         followed.
    -g                      like --block-size=1G
    -c                      display a grand total
        --help              Prints help information
    -h, --human-readable    print sizes in human readable format (e.g., 1K 234M 2G)
    -k                      like --block-size=1K
    -m                      like --block-size=1M
    -s, --summarize         display only a total for each argument
    -V, --version           Prints version information

OPTIONS:
    -B, --block-size <SIZE>    use SIZE-byte blocks
    -d <depth>                 depth

ARGS:
    <PATHS>...    paths

Does not support windows currently

Usage

dua --help

Design

It uses rayon to split work up per directory and

Performance

Depending on the depth and width of the directories, it can be up to 10 times faster currently on a 2010 mbp.

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.