--count¶
Info
- The
--count
flag displays the number of files and directories inside each folder in the tree. - This makes it easy to see folder contents at a glance without expanding everything.
Usage¶
Example¶
Example
Legend
3f
= 3 files2d
= 2 subdirectories
Tip¶
Tip
- Combine
--count
with other display flags: - This shows folder counts, file sizes, and a colored theme in one view.
Why it’s useful¶
Abstract
- Quickly assess folder contents without opening directories.
- Helpful in documentation, code reviews, or project analysis.
- Works well with
--max-depth
for summarized folder overviews.