1、mac -bash: tree: command not found
brew install tree
2、Mac tree 中文乱码:
└── 就?\232?\217?
├── http_web?\234\215?\212??\231?.md
├── linux?\237??\200.md
├── mini-web.md
├── mysql.md
├── python?\217\220?\230.md
├── udp_tcp.md
├── ?\232任?\212?.md
├── ?\205饰?\231?.md
└── 正?\210\231表达?\217.md
使用-N进行解决:
tree -N