-
-
Notifications
You must be signed in to change notification settings - Fork 25
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 support to ignore filenames (by regex?) #47
Comments
I'm running into the same issue, too. I'd like to be able to either ignore matching files or only include matching files. For example I have a directory with a pattern like so:
And I'd like to be able to call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use case:
Sometimes I want to do an ambitious search or search/replace but I get a bunch of junk files I don't want to touch, like a CHANGELOG.md or a package-lock.json.
It would be nice to add an argument to ambs/ambr to ignore these files, e.g.
and
ambr --ignore-file '*-lock.json' fromString toString
The current workarounds I've been using are grep -v and trying to manually select 'no' on the replace query for the files I don't want to replace text inside. I can assure you, this is a very error prone process 😅
The text was updated successfully, but these errors were encountered: