-
Notifications
You must be signed in to change notification settings - Fork 773
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
Possible to include wildcards in delete? #57
Comments
Hmm, I agree... this could be handy. I can't make it a priority right now to implement, but I'll leave this open incase someone wants to do a PR. But the way to do it would be to take advantage of the |
Note to self, reference module to borrow techniques from: https://github.com/sindresorhus/del |
This should actually be possible now that |
How do you use wildcards? |
You can't. Your best bet is to use a file system walker like https://github.com/jprichardson/node-klaw and match using a filter, and then remove. |
Shouldn't it be possible using just rimraf with disableGlob false? |
Sure, but IIRC, we have it hardcoded to false. So you'd then have to include |
Are we still not able to use wildcards? |
We have a fork of |
Would be nice to be able to delete based on wildcards.
The text was updated successfully, but these errors were encountered: