doc: Update tree.

This commit is contained in:
小弟调调™ 2023-02-22 10:08:21 +08:00 committed by GitHub
parent 6b7b6607e0
commit 4ca0b55307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -119,4 +119,17 @@ tree -if /private/
/private/tftpboot
```
显示所有文件目录(包括隐藏文件)并忽略(node_modules|.git)目录,展示(`-L 2`)两层。
```shell
$ tree -I 'node_modules|.git' -L 2 -a
.
├── .github
│   └── workflows
├── LICENSE
├── README.md
└── renovate.json
```