commands.sh

dust

all

Give an instant overview of which directories are using disk space. See also: `du`, `ncdu`.

More info →

Options (5)

-n, --number-of-linesboolean

Display 30 directories (defaults to 21)

Example: dust {{[-n|--number-of-lines]}} 30
-d, --depthboolean

Display information for the current directory, up to 3 levels deep

Example: dust {{[-d|--depth]}} 3
-r, --reverseboolean

Display the largest directories at the top in descending order

Example: dust {{[-r|--reverse]}}
-X, --ignore-directoryboolean

Ignore a file or directory

Example: dust {{[-X|--ignore-directory]}} {{path/to/file_or_directory}}
-b, --no-percent-barsboolean

Do not display percent bars and percentages

Example: dust {{[-b|--no-percent-bars]}}

Examples (7)

Display information for the current directory

Display information about one or more directories

dust path/to/directory1 path/to/directory2 ...

Display 30 directories (defaults to 21)

dust [-n|--number-of-lines] 30

Display information for the current directory, up to 3 levels deep

dust [-d|--depth] 3

Display the largest directories at the top in descending order

dust [-r|--reverse]

Ignore a file or directory

dust [-X|--ignore-directory] path/to/file_or_directory

Do not display percent bars and percentages

dust [-b|--no-percent-bars]
made by @shridhargupta | data from tldr-pages