Last active
April 2, 2020 16:15
-
-
Save dixonge/846afb55766c17ef7fb19360962e0dbb to your computer and use it in GitHub Desktop.
Use find and sed to search/replace in all files in all subdirectories
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 ./ -type f -exec sed -i -e 's/find-this/replace-with-this/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment