Directory contents as Ascii tree

This shows how to print the contents of a directory as an Ascii tree. The output is similar to the ls -tree command under Unix/Linux.
(more…)