Created
March 26, 2020 20:57
-
-
Save reidransom/09aeb46c1023f818061cb57373e2fc21 to your computer and use it in GitHub Desktop.
Recursive find/replace
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 -r <find> <path> | awk -F':' '{print $1}' | xargs sed -i 's/<find>/<replace>/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment