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

add ignore option to ignore specific directory #1

Closed
derycktse opened this issue Mar 29, 2017 · 4 comments
Closed

add ignore option to ignore specific directory #1

derycktse opened this issue Mar 29, 2017 · 4 comments

Comments

@derycktse
Copy link
Owner

also support regex

@derycktse
Copy link
Owner Author

added

@Jesonhu
Copy link

Jesonhu commented Apr 2, 2018

如果存在多个需要忽略的文件夹。例如.git、node_modules需要如何过滤呢。我知道可以使用正则, 但是正则如何写呢?

@konglingwen94
Copy link

konglingwen94 commented Apr 2, 2020

I have the same problem with regular expressions

@LuoSK
Copy link

LuoSK commented Oct 21, 2022

treer -e ./directory.md -i "/^(.git|node_modules|hooks)$/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants