Skip to content

edit multiple files in place? #2140

Closed Answered by treatmesubj
treatmesubj asked this question in Q&A
Discussion options

You must be logged in to vote

ah, I just needed to read man find and fiddle a bit more

find . -type f -name "*.yaml" -exec yq -i '.kind = "blah"' {} \;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by treatmesubj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant