I want to preview the structure of a folder with tree -d
. However, some subfolder has too many subfolders, which prevent me to preview the whole tree at a glance, so I want a argument such as --maxSubfolders 8
, which makes the leftover displays an ellipsis.
tree -d --maxSubfolders 3
outputs
a
b
c
...
-L 3
limits the depth of displayed tree. What I want is to limit the width of each level. – DawnSong Apr 20 '22 at 06:51--filelimit #
Do not descend directories that contain more than#
entries. – DawnSong Apr 20 '22 at 07:44