Archive for February 8th, 2008

Graphical representation of sub-directories

This command shows a graphical representation of the current sub-directories.


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

Original Article