Created
March 13, 2015 16:10
-
-
Save stevepaulo/cef31111a66dec76bb1a to your computer and use it in GitHub Desktop.
find and replace text in files, recursively, on Mac OSX
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 -name '*.txt' -exec sed -i '' s/this/that/ {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment