Created
March 26, 2014 16:20
-
-
Save weavenet/9787119 to your computer and use it in GitHub Desktop.
Find and replace strings across files recursively in a directory on OS X.
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
find . -type f -name '*.txt' -exec sed -i '' s/123/321/ {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment