Amazing One Line Script
I was stumbling around on the internet this morning and I found this awesome site… (http://www.centerkey.com/tree/)
This guy posted an amazing one line script that will graphically show your directory tree with a simple one line command:
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
and that’s all!!! It works great!