Show SubFolders In Graphical Format In Terminal

by Sanju 2012-07-07 16:21:13

Show SubFolders In Graphical Format In Terminal

This is a very cool little hack that enables you to show an ASCII graphical view of sub folders. Use the cd command to change to a directory other wise the command will list every folder.

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


677
like
0
dislike
0
mail
flag

You must LOGIN to add comments