#linux #disk #usage

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

#1251 in Filesystem

Download history 33/week @ 2023-10-19 28/week @ 2023-10-26 23/week @ 2023-11-02 17/week @ 2023-11-09 31/week @ 2023-11-16 43/week @ 2023-11-23 26/week @ 2023-11-30 30/week @ 2023-12-07 15/week @ 2023-12-14 23/week @ 2023-12-21 25/week @ 2023-12-28 33/week @ 2024-01-04 29/week @ 2024-01-11 19/week @ 2024-01-18 25/week @ 2024-01-25 32/week @ 2024-02-01

114 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

~420KB