Created
January 9, 2013 09:04
-
-
Save a1phanumeric/4491730 to your computer and use it in GitHub Desktop.
Find and replace string in all files OSX
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 /path/to/dir/* -type f -exec sed -i '' 's/FIND_STRING/REPLACE_STRING/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment