Skip to Content
gnux

-c, --total

Produce a grand total.

An option of dux.

Usage

dux -c [FILE]...
dux --total [FILE]...

Details

ShortLongValueDefaultMeaning
-c--totalnoneproduce a grand total

Examples

See how much node_modules folders take across all your projects

dux -sch ~/projects/*/node_modules
Output
412M	/home/alice/projects/api/node_modules
388M	/home/alice/projects/web/node_modules
800M	total

Measure a list of paths produced by another program

find . -name '*.log' -print0 | dux -ch --files0-from=-

Help in the terminal

gnux help dux --total

On this page