#linux #disk #usage #filesystem

app dua

Disk Usage Analyzer (DUA) is a linux console application to display what uses the most space in the specified directories. Think about it as a console version of KDirStat or WinDirStat

1 stable release

Uses old Rust 2015

1.1.0 Feb 26, 2017

#8 in #usage

Download history 3/week @ 2020-05-27 6/week @ 2020-06-03 11/week @ 2020-06-10 9/week @ 2020-06-17 3/week @ 2020-06-24 26/week @ 2020-07-01 11/week @ 2020-07-08 7/week @ 2020-07-15 9/week @ 2020-07-22 11/week @ 2020-07-29 11/week @ 2020-08-05 12/week @ 2020-08-12 5/week @ 2020-08-19 13/week @ 2020-08-26 13/week @ 2020-09-02 8/week @ 2020-09-09

78 downloads per month

Custom license

12KB
250 lines

Disk Usage Analyzer

Disk Usage Analyzer (DUA) is a linux console application to display what uses the most space in the specified directories. Think about it as a console version of KDirStat or WinDirStat

Usage

USAGE:
    dua [FLAGS] [OPTIONS] [DIR]

FLAGS:
        --help       Prints help information
    -h               Output sizes in human readable form
    -k               Output sizes in KiBytes
    -V, --version    Prints version information
    -x               no crossing of filesystems

OPTIONS:
    -d <depth>        depth to display
    -n <num>          number of entries to display on each level

ARGS:
    <DIR>    Directory to analyze

ARGUMENTS

  • -h : Display sizes in human readable form
  • -k : Display sizes in KiBytes
  • -x : Do not descend into different (mounted) filesystems
  • -n : Number of entries to display in each directory, default=1
  • -d : How deep to display the directory structure

Examples

$ dua -h .
100.0%  34.5M ./
    99.7%  34.4M target/
       74.1%  25.5M debug/
          69.3%  17.7M deps/
             82.8%  14.6M libclap-c293040e3ef9c3f9.rlib


$ dua -d 3 -n 2
100.0%     72254726 ./
    99.8%     72124752 target/
       50.0%     36063423 x86_64-unknown-linux-gnu/
       37.1%     26722394 debug/
     0.1%        54055 .git/
       56.8%        30692 objects/
       28.3%        15321 hooks/

How to build

Run build.sh. It requires the Rust toolchain, including cargo, and fpm (eFfing Package Manager). It builds Debian and Arch linux packages.

Author

Pistahh - István Szekeres szekeres@iii.hu

Dependencies

~685KB
~11K SLoC