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

Exclude directory #113

Open
echodreamz opened this issue Nov 9, 2023 · 2 comments
Open

Exclude directory #113

echodreamz opened this issue Nov 9, 2023 · 2 comments

Comments

@echodreamz
Copy link

echodreamz commented Nov 9, 2023

Is there a way I am missing to exclude an entire directory and it's contents?

I have tried...

-e "folder/*"

However, the items in this folder are still added to the output. I am using Windows.

Thanks you and great project!

@theseer
Copy link
Owner

theseer commented Nov 18, 2023

I don't use windows, so this answer may be off, but I'd bet that's a shell problem: You need to use single quotes ' to not have it resolve the* before passing it into phpab.

@theseer
Copy link
Owner

theseer commented Nov 18, 2023

Additionally, the match operation is performed on the actual path, before it's added to the map (or skipped). So it is unlikely that folder/* will ever match. Try '*/folder/*'.

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