Skip to Content
gnux

--only-dirs

List only directories.

An option of lsx.

Usage

lsx --only-dirs [FILE]...

Details

ShortLongValueDefaultMeaning
--only-dirsnonelist only directories

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 ~/Downloads

Help in the terminal

gnux help lsx --only-dirs

On this page