Directory treeview in linux terminal
17 апреля 2014
Sometimes we need to get visual representation of a directory tree. This terminal command can do this for you…
1 |
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' |
Result is something like this:
1 2 3 4 5 6 7 8 |
|-actual |---template |-----img |-admin |---bootstrap |-----css |-----fonts |-----js |
Leave a Reply