-S, --sort-size
Sort by file size, largest first.
An option of lsx.
Usage
lsx -S [FILE]...
lsx --sort-size [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-S | --sort-size | none | sort by file size, largest first |
Examples
Largest files first, with sizes in powers of 1000
lsx -lS --si downloads/Smallest files first (reverse the size sort)
lsx -lShr downloads/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 --sort-size