+2  A: 

There is a command to do this called "tree" on many Unix operating systems but I don't know if it's available in MacOS X

Ken Keenan
http://mama.indstate.edu/users/ice/tree/ It's not installed by default, but is readily available.
ephemient
Thank you very much for your answer!
Masi