Display The Contents Of A Directory As A Tree
The exa utility is a speedy replacement for ls that offers some additional features. One of those extra features is the tree display.
By including the -T (or --tree) flag, exa will recurse into a directory and display the entirety of the contents as a tree.
β― exa -T
.
βββ folder1
β βββ cats
β β βββ sneaky
β βββ dogs
β βββ fido
βββ folder2
βββ cats
β βββ oreo
β βββ sneaky
βββ dogs
βββ fidoYou can target a specific directory:
β― exa -T folder2
folder2
βββ cats
β βββ oreo
β βββ sneaky
βββ dogs
βββ fidoSee man exa for more details.
Last updated
Was this helpful?