--total-size
Show a directory's size as the total of everything in it.
An option of lsx.
Usage
lsx --total-size [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--total-size | none | show a directory's size as the total of everything in it |
Examples
Your downloads folder is full: find the biggest folders, each sized by everything in it, with the sizes colored by magnitude
lsx -lS --total-size --only-dirs --color-scale=size ~/DownloadsHelp in the terminal
gnux help lsx --total-size