#du #files #disk-usage

app spruce

A command line utility for analyzing disk usage

3 releases (breaking)

0.3.0 Oct 17, 2019
0.2.0 May 2, 2019
0.1.0 May 2, 2019

#8 in #du

24 downloads per month

MIT license

13KB
274 lines

A fast, pretty and easy to use alternative to du.

A screenshot

Installation

cargo install spruce

Usage

spruce 0.3.0
Dzejkop <jakubtrad@gmail.com>
A command line utility for analyzing disk usage.

USAGE:
    spruce [OPTIONS] [--] [dir]

FLAGS:
    -h, --help
            Prints help information

    -V, --version
            Prints version information


OPTIONS:
    -d, --depth <depth>
            Max recursion depth

    -X, --exclude <exclude>...
            Exlucde files and directories with regular expressions

            For example, in order to exclude the .git directory use `-X "\.git"` You can use multiple patterns with a
            single flag, like this `-X "\.git" "target", or by using the flag many times `-X "\.git" -X target`
        --sort <sort>
            Sorting mode: "name" or "size"


ARGS:
    <dir>
            Target directory, if not specified will use the current working directory

Dependencies

~10MB
~181K SLoC