--order¶
Info
The --order
flag controls the sorting order of files and directories in the tree.
asc
— Sort in ascending order (default).desc
— Sort in descending order.
Usage¶
Usage
Example¶
Tips¶
Tips
- Always combine
--order
with--sort
to define both sort criteria and direction. - Works with
--format md
,--size
, or--count
for customized tree outputs.