GitXplorerGitXplorer
c

durt

public
38 stars
7 forks
3 issues

Commits

List of commits on branch master.
Unverified
65e85906c874bd2672eb9c4572449ae922feb46e

Bump version to 1.0.3

ccauebs committed 3 years ago
Unverified
b03a5f67f7004632f76a0f45d92c0430805efa7e

Bump clap to 3.0.0-beta.5

ccauebs committed 3 years ago
Unverified
94e5b6083e21d50c920bd0ba693a207e74fb19b0

Pin clap version correctly

ccauebs committed 3 years ago
Unverified
f5e68d7c425d5a07649d898c6d293eb9429461c9

Fix setting CLI version and author

ccauebs committed 3 years ago
Unverified
6c4bff2dffbb4bc43be656d832408a259dbd0d3f

Bump version to v1.0.1

ccauebs committed 3 years ago
Verified
e6b6aaaccd7641fad70f03d41e9b1b62f4d3039a

Merge pull request #18 from rivy/fix.build-fail-clap

ccauebs committed 3 years ago

README

The README file for this repository.

durt

durt

Command line tool for calculating the size of files and directories

Installation

~ $ cargo install durt

Usage

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

ARGS:
    <paths>...    Paths to files or directories. Use wildcards for recursion

FLAGS:
    -b, --binary        Use binary prefixes (Ki, Mi, Gi, etc.) instead of decimal
    -P, --percentage    Show each entry's percentage relative to the total
    -t, --total         Print the sum of all sizes at the end
    -s, --sort          Print entries in ascending order of size
    -p, --by-path       Sort by path instead of by size
    -r, --reverse       Reverse the order of the entries
    -f, --same-fs       Ignore entries from filesystems different from that of the first path passed
    -h, --help          Prints help information
    -V, --version       Prints version information

OPTIONS:
    -m, --min <minimum-percentage>    Omit entries with size less than this

At this time --same-fs is not available on Windows.

Example

~/durt $ durt -st *
       534 B  Cargo.toml
     1.24 kB  README.md
    11.49 kB  Cargo.lock
    35.15 kB  LICENSE
    56.01 kB  src
   173.56 MB  target
   ---------
   173.66 MB