Hacker News new | ask | show | jobs
by l0nwlf 5599 days ago
Unrelated but a nice alias "tree".

alias tree="find . -name .svn -prune -o -name .DS_Store -prune -o -name .git -prune -o -print | sed -e 's;[^/]*/;|___;g;s;___|; |;g'"

It shows your directory listing in the form of a tree. Easier to visualize.

3 comments

Or, you could just use "tree":

http://mama.indstate.edu/users/ice/tree/

Nice little hack!
Gorgeous!