1. 安裝
brew install tree
2. 顯示
亂碼顯示如下
3. 解決
兩個(gè)博客
google 中顯示一個(gè)tree -N
tree -N
顯示結(jié)果如下
查看man pages
-N Print non-printable characters as is instead of as escaped octal
numbers.
結(jié)論就是原樣打印出字符。
參考 & Tanks