bin+lib dutree

Command line tool to analyze disk usage

15 releases

0.2.18 May 9, 2021
0.2.16 Jun 3, 2020
0.2.15 Nov 18, 2019
0.2.9 Jul 13, 2018

#974 in Command line utilities

Download history 40/week @ 2022-12-01 43/week @ 2022-12-08 65/week @ 2022-12-15 40/week @ 2022-12-22 33/week @ 2022-12-29 30/week @ 2023-01-05 47/week @ 2023-01-12 78/week @ 2023-01-19 54/week @ 2023-01-26 108/week @ 2023-02-02 152/week @ 2023-02-09 113/week @ 2023-02-16 47/week @ 2023-02-23 37/week @ 2023-03-02 64/week @ 2023-03-09 53/week @ 2023-03-16

207 downloads per month

GPL-3.0 license

507 lines


a tool to analyze file system usage written in Rust



  • coloured output, according to the LS_COLORS environment variable.
  • display the file system tree
  • ability to aggregate small files
  • ability to exclude files or directories
  • ability to compare different directories
  • fast, written in Rust

More details at


 $ dutree --help
Usage: dutree [options] <path> [<path>..]

    -d, --depth [DEPTH] show directories up to depth N (def 1)
    -a, --aggr [N[KMG]] aggregate smaller than N B/KiB/MiB/GiB (def 1M)
    -s, --summary       equivalent to -da, or -d1 -a1M
    -u, --usage         report real disk usage instead of file size
    -b, --bytes         print sizes in bytes
    -f, --files-only    skip directories for a fast local overview
    -x, --exclude NAME  exclude matching files or directories
    -H, --no-hidden     exclude hidden files
    -A, --ascii         ASCII characters only, no colors
    -h, --help          show help
    -v, --version       print version number


cargo install dutree

There's also standalone binaries for Linux in the Releases section

Arch Linux

You can install the AUR package with an AUR helper like pacaur, or manually:

git clone
cd dutree
makepkg -si


You can install dutree from the official Fedora repositories:

$ sudo dnf -y install dutree


~52K SLoC