Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree #20

Open
xyzdata opened this issue Jan 30, 2018 · 4 comments
Open

tree #20

xyzdata opened this issue Jan 30, 2018 · 4 comments
Labels
bug tree & bash tree & bash tree & cmd & bug tree & cmd & bug

Comments

@xyzdata
Copy link
Collaborator

xyzdata commented Jan 30, 2018

tree

windows

image

Install tree command

https://lintut.com/use-tree-command-in-linux/

Unix (CentOS)

image

@xyzdata
Copy link
Collaborator Author

xyzdata commented Jan 30, 2018

npm link

image

@xyzdata
Copy link
Collaborator Author

xyzdata commented Jan 30, 2018

bad

image

ok

image

@xgqfrms xgqfrms added the tree & bash tree & bash label Apr 18, 2019
Repository owner locked and limited conversation to collaborators Apr 18, 2019
@xgqfrms
Copy link
Collaborator

xgqfrms commented Apr 18, 2019

bug

E: Unable to locate package tree

https://www.cnblogs.com/xgqfrms/p/10729411.html

solution

# 1. update
$ sudo apt-get update

# 2. install
$ sudo apt install tree

@xgqfrms xgqfrms added bug tree & cmd & bug tree & cmd & bug labels Apr 18, 2019
@xgqfrms
Copy link
Collaborator

xgqfrms commented Sep 24, 2023

tree -L

# ignore one folder
$ tree -I node_modules


# ignore multi folders
$ tree -I "node_modules|cache|test_*"

$ tree -I "node_modules|bower_components"

# tree level
$ tree -L 3 -I "node_modules|bower_components"
# tree level
$ tree -L 3 -I "node_modules"

$ tree -L 2 -I "000-xyz"

https://www.cnblogs.com/xgqfrms/p/10824747.html

https://www.cnblogs.com/xgqfrms/p/10729411.html

 $ tree -L 2 -I "node_modules|000-xyz|test|templates|bin"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug tree & bash tree & bash tree & cmd & bug tree & cmd & bug
Projects
None yet
Development

No branches or pull requests

2 participants