find ./ -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g' print out a tree of directories from current location
find ./ -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
find ./ -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g' print out a tree of files and directories from current location
find ./ -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
hat tip: http://murphymac.com/tree-command-for-mac/
More information about formatting options
Loading...
Cannot wait? Visit me on Twitter. And how about a follow, huh?.
Add your comment