mlsamuelson.com

TREE approximation using FIND and SED

find ./ -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
print out a tree of directories from current location

find ./ -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
print out a tree of files and directories from current location

hat tip: http://murphymac.com/tree-command-for-mac/

Find Me Around

User login