This works well for a basic listing of sub directories.
However the first method, using the Linux version, has a lot more options. Using tree -C adds colour making directories easier to visually separate from files. Using tree -L 2 will just go down 2 levels (or any number you use).
I couldn't get the Windows version to list out files from git-bash properly either using the /F switch.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
you can use
no need to install anything
This works well for a basic listing of sub directories.
However the first method, using the Linux version, has a lot more options. Using
tree -C
adds colour making directories easier to visually separate from files. Usingtree -L 2
will just go down 2 levels (or any number you use).I couldn't get the Windows version to list out files from git-bash properly either using the
/F
switch.