From f7941866aebffe27334bd59c5283f9fd29ee0473 Mon Sep 17 00:00:00 2001 From: n4nagappan Date: Thu, 28 Dec 2017 11:04:17 +0530 Subject: [PATCH 1/3] tree.md: add example for exclude directory --- pages/linux/tree.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/tree.md b/pages/linux/tree.md index 5760024859..5fbc1a6924 100644 --- a/pages/linux/tree.md +++ b/pages/linux/tree.md @@ -25,3 +25,7 @@ - Filter the tree using a wildcard (glob) pattern: `tree -P {{*.txt}}` + +- Exclude a directory: + +`tree -I node_modules` From 68ccb63f989bfdbac1ed6dab93edd7338aedacd5 Mon Sep 17 00:00:00 2001 From: n4nagappan Date: Fri, 29 Dec 2017 06:55:40 +0530 Subject: [PATCH 2/3] Update tree.md --- pages/linux/tree.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/tree.md b/pages/linux/tree.md index 5fbc1a6924..f4da1dd726 100644 --- a/pages/linux/tree.md +++ b/pages/linux/tree.md @@ -26,6 +26,6 @@ `tree -P {{*.txt}}` -- Exclude a directory: +- Ignore files that match a wildcard (glob) pattern: -`tree -I node_modules` +`tree -I '*.txt'` From 852edabca9efe14e220e8cb07e365102eb2d5bd0 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Fri, 29 Dec 2017 08:45:39 +0530 Subject: [PATCH 3/3] tree: update description Also added tokens --- pages/linux/tree.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/tree.md b/pages/linux/tree.md index f4da1dd726..836d19addd 100644 --- a/pages/linux/tree.md +++ b/pages/linux/tree.md @@ -26,6 +26,6 @@ `tree -P {{*.txt}}` -- Ignore files that match a wildcard (glob) pattern: +- Ignore entries that match a wildcard (glob) pattern: -`tree -I '*.txt'` +`tree -I {{*.txt}}`