Monday, February 4, 2008

Treeview command Linux How-to

Linux command:

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

where DIR is the Directory Name

To see all the directory inside a folder in a tree view...


0 comments: