List dir tree in bash

This is a simple "tree" command:
find . -type d | sed -e "s/[^-][^\/]*\//  |/g" -e "s/|\([^ ]\)/|-\1/"
Alias it and have fun!!

0 comments:

Post a Comment

Total Posts :224
Total Comments :7
| More

Twitter Updates