treeコマンドをfind とsedにて代替え

Qiitaカラの引用

pwd;find . | sort | sed '1d;s,[^/]*/,|    ,g;s/..//;s/[^ ]*$/|-- &/'