#disk #linux #disk-usage #usage #directory

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

#1647 in Filesystem

Download history 24/week @ 2024-03-11 10/week @ 2024-03-18 13/week @ 2024-03-25 25/week @ 2024-04-01 11/week @ 2024-04-08 10/week @ 2024-04-15 32/week @ 2024-04-22 3/week @ 2024-04-29 4/week @ 2024-05-06 23/week @ 2024-05-13 18/week @ 2024-05-20 19/week @ 2024-05-27 16/week @ 2024-06-03 16/week @ 2024-06-10 3/week @ 2024-06-17 17/week @ 2024-06-24

54 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

~750KB