Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

주요 옵션

optionparam의미
-d
List directories only.
-f
Prints the full path prefix for each file.
-i
 Makes tree not print the indentation lines, useful when used in conjunction with the -f option.
-Ipattern

Do not list those files that match the wild-card pattern.


-PpatternList  only  those files that match the wild-card pattern. 
-Llevel


2 depth만 표시

$ tree -L 2


2 depth 와 directory 만 표시

$ tree -L 2 -d


2 depth, directory only, no indentation + full path

$ tree -L 2 -d -fi


2 depth, 특정 폴더 제외

tests와 node_moduels 폴더 제외

$ tree -L 2 -d -I "node_modules|tests"



Ref

  • No labels