Last active
April 9, 2019 00:18
-
-
Save kndo/a62abb4e4703f6a31e924e658e22a7e5 to your computer and use it in GitHub Desktop.
find and replace on macOS
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 '*' -exec sed -i '' 's/an old string/a new string/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment