Created
October 21, 2016 19:56
-
-
Save doyle/8ad2bdfbc79f4835a30bcba814d20c16 to your computer and use it in GitHub Desktop.
Find and replaces all instances in a directory
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
find . -type f -exec sed -i '' -e 's/foo/bar/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment