Update tree.md

This commit is contained in:
小弟调调™ 2017-11-05 23:52:45 -06:00 committed by GitHub
parent b9c06d52ed
commit 292b7e397a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -100,4 +100,10 @@ tree -P node_modules -L 2 # 显示目录node_modules两层的目录树结构
tree -L 2 > /home/www/tree.txt # 当前目录结果存到 tree.txt 文件中
```
忽略多个文件夹
```bash
tree -I 'node_modules|icon|font' -L 2
```
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->