Created
May 9, 2016 18:39
-
-
Save kitwalker12/29cc411e66eb6a297ba2fae09cee925c to your computer and use it in GitHub Desktop.
replace words in all files on Mac 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
LC_ALL=C find ./ -name "{filter}" -type f -exec sed -i '' -e 's/{old-word}/{new-word}/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment