Created
January 31, 2020 15:03
-
-
Save willwright82/7f6f5cf1089ffc4bf8e73986aa696570 to your computer and use it in GitHub Desktop.
Search and Replace using AG — The Silver Surfer
This file contains 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
ag -l "search string" | xargs sed -i '' -e 's/from/to/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment