From 292b7e397a72f65dbb1caae478f9c4b41c15bc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83=E2=84=A2?= <398188662@qq.com> Date: Sun, 5 Nov 2017 23:52:45 -0600 Subject: [PATCH] Update tree.md --- command/tree.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/command/tree.md b/command/tree.md index 2a87b1def5..3e5151cf78 100644 --- a/command/tree.md +++ b/command/tree.md @@ -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 +``` +