Skip to Content
gnux

--tree

Draw what -print writes as a tree under each starting point.

An option of findx.

Usage

findx --tree [-H] [-L] [-P] [STARTING-POINT]... [EXPRESSION]

Details

ShortLongValueDefaultMeaning
--treenonedraw what -print writes as a tree under each starting point

Examples

You cloned a project and want to see where its tests live, drawn as a tree under the directories that hold them

findx --tree . -name '*_test.go' -not -path './vendor/*'

Help in the terminal

gnux help findx --tree

On this page