LinuxCommandLibrary

dust

Dust gives an instant overview of which directories are using disk space.

TLDR

Display information for the current directory

$ dust
copy


Display information for a space-separated list of directories
$ dust [path/to/directory1] [path/to/directory2]
copy


Display 30 directories (defaults to 21)
$ dust --number-of-lines [30]
copy


Display information for the current directory, up to 3 levels deep
$ dust --depth [3]
copy


Display the biggest directories at the top in descending order
$ dust --reverse
copy


Ignore all files and directories with a specific name
$ dust --ignore-directory [file_or_directory_name]
copy


Do not display percent bars and percentages
$ dust --no-percent-bars
copy

Help

Dust 0.7.5 
Like du but more intuitive 

USAGE:
    dust [FLAGS] [OPTIONS] [--] [inputs]... 

FLAGS:
    -f, --filecount           Directory 'size' is number of child files/dirs not disk size 
    -s, --apparent-size       Use file length instead of blocks 
    -p, --full-paths          Subdirectories will not have their path shortened 
    -h, --help                Prints help information 
    -i, --ignore_hidden       Do not display hidden files 
    -x, --limit-filesystem    Only count the files and directories on the same filesystem as the supplied directory 
    -b, --no-percent-bars     No percent bars or percentages will be displayed 
    -c, --no-colors           No colors will be printed (normally largest directories are colored) 
    -r, --reverse             Print tree upside down (biggest highest) 
    -t, --file_types          show only these file types 
    -V, --version             Prints version information 

OPTIONS:
    -d, --depth                              Depth to show 
    -e, --filter ... 
            Only include files matching this regex. For png files type: -e "\.png$"  

    -X, --ignore-directory ...    Exclude any file or directory with this name 
    -v, --invert-filter ... 
            Exclude files matching this regex. To ignore png files type: -v "\.png$"  

    -n, --number-of-lines  
            Number of lines of output to show. This is Height, (but h is help) [default: 20] 

    -w, --terminal_width  
            Specify width of output overriding the auto detection of terminal width 


ARGS:
    ...     [default: .] 

Copied to clipboard