个人介绍
使用一行命令就能查看文件目录结构,不用使用文件管理器一个文件夹一个文件夹打开查看了!
如
(torch) (base) whitewatercn@MadBookAir chest_xray % \tree -L 2\
>
.
├── test
│ ├── NORMAL
│ └── PNEUMONIA
└── train
├── NORMAL
└── PNEUMONIA
7 directories, 0 files
官网
安装
homebrew tree — Homebrew Formulae
Ubuntu apt - How to install "tree" with command-line? - Ask Ubuntu