Tree is a recursive directory listing program that produces a depth indented listing of files, which is
colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty. With no
arguments, tree lists the files in the current directory. When directory arguments are given, tree
lists all the files and/or directories found in the given directories each in turn. Upon completion of
listing all files/directories found, tree returns the total number of files and/or directories listed.
It’s not that useful but it’s easier to use than find (I always forget the flags ;),
specially if you need to get the relative path to a file:
It will output something like this:
find can do it too, but it returns the absolute path when called with `pwd`, which is not what I want.
I used to have Disqus enabled on my website, but I have disabled it because of privacy concerns.