Monday, October 15, 2012

how to see the tree structure of folders in unix

ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'

No comments:

Post a Comment