Created
November 19, 2021 17:49
-
-
Save tmbritton/beb5e553bf0046e9c515580c4a1fa7f8 to your computer and use it in GitHub Desktop.
search and replace grep/sed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rl 'search' ./* | xargs sed -i '' -e 's/search/replace/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment