findでディレクトリをツリー表示する
tree
が入っていない環境で
$ pwd;find . | sort | sed '1d;s/^\.//;s/\/\(
^/
*\)$/|--\1/;s/\/
^/|
*/| /g'