tree: ignore specific directories (#3837)
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
|
||||
> Show the contents of the current directory as a tree.
|
||||
|
||||
- Show files and directories up to 'num' levels of depth (where 1 means the current directory):
|
||||
- Print files and directories up to 'num' levels of depth (where 1 means the current directory):
|
||||
|
||||
`tree -L {{num}}`
|
||||
|
||||
- Show directories only:
|
||||
- Print directories only:
|
||||
|
||||
`tree -d`
|
||||
|
||||
- Show hidden files too:
|
||||
- Print hidden files too:
|
||||
|
||||
`tree -a`
|
||||
|
||||
@@ -29,3 +29,7 @@
|
||||
- Ignore entries that match a wildcard (glob) pattern:
|
||||
|
||||
`tree -I {{*.txt}}`
|
||||
|
||||
- Print the tree ignoring the given directories:
|
||||
|
||||
`tree -I '{{directory_name1|directory_name2}}'`
|
||||
|
Reference in New Issue
Block a user