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

--ignore does not work with nested folders #30

Open
mcazim98 opened this issue Mar 16, 2023 · 1 comment
Open

--ignore does not work with nested folders #30

mcazim98 opened this issue Mar 16, 2023 · 1 comment

Comments

@mcazim98
Copy link

ignore command treee -l 10 --ignore "venv , app\tmp\__pycache__" not working , prints out everything. the folder structure works when only treee -l 10 --ignore venv is given.

@antonyadhiban
Copy link

antonyadhiban commented Mar 28, 2023

@mcazim98 I also had a similar issue, I ignored the single quotes. In your case you are ignoring the / at the end of the folder, that helped in my case.
Try this,
treee -l 10 --ignore "venv/, app\tmp\__pycache__/"

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

No branches or pull requests

2 participants