--sort¶
Info
The --sort
flag controls how files and directories are sorted before displaying the tree.
Usage¶
Abstract
name
— Sort alphabetically (default).size
— Sort by file or folder size (smallest → largest).
Examples¶
Sort by {name, order}
Tip¶
Tip
You can combine --sort
with --order
to control ascending/descending order.