Last active
August 25, 2018 23:14
-
-
Save ryanoboril/bdce1eaa873e8bf8ca01 to your computer and use it in GitHub Desktop.
Global search and replace at the command line
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 /path/to/files -type f -exec sed -i '' 's/oldstring/new string/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment