2014-10-15 treeコマンドをfind とsedにて代替え sed Qiitaカラの引用 pwd;find . | sort | sed '1d;s,[^/]*/,| ,g;s/..//;s/[^ ]*$/|-- &/'