durt 0.2.0

Command line tool for calculating the size of files and directories
durt-0.2.0 is not a library.
Visit the last successful build: durt-1.0.3

durt

Command line tool for calculating the size of files and directories

Installation

~ $ cargo install durt

Usage

USAGE:
    durt [FLAGS] [paths]...

FLAGS:
    -b, --binary     Use binary prefixes (KiB, MiB, GiB, etc). Sizes will be divided by 1024 instead of 1000.
    -p, --by-path    Sort the output lines by path, instead of by size.
    -h, --help       Prints help information
    -r, --reverse    Reverse the order of the output lines.
    -s, --sort       Print lines in ascending order. If --by-path is not passed, the size will be used.
    -t, --total      Print a total at the end
    -V, --version    Prints version information

ARGS:
    <paths>...    Path to files or directories

Example

~/durt $ durt -st *
     478 B  Cargo.toml
     908 B  README.md
   7.08 kB  src
   9.79 kB  Cargo.lock
  35.15 kB  LICENSE
 569.59 MB  target
 ---------
 569.64 MB