I've found this command to show a tree of the directories under the current one:
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
Which produces:
.
|-docs
|-lib
|-node_modules
|---connect-file-cache
|-----docs
|-----lib
|-----node_modules
|-------mime
|-------underscore
|-----src
|-----test
|-----test_fixtures
|---mime
|---snockets
That's good, but the files aren't there. My bash scripting skills are weak, so I have no idea how to get the files to show in that output.
Since I'm on Windows, I don't think I can get the tree command into mingw32.