You can use tree command to print the directory tree in a terminal, just install “tree” application:
root# apt-get install tree
or use find and sed 😉
find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
Just another WordPress site
You can use tree command to print the directory tree in a terminal, just install “tree” application:
root# apt-get install tree
or use find and sed 😉
find . -type d | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"