Created
June 8, 2016 14:42
-
-
Save jaderabbit/0b07fae716b67641a09cf987382dcf24 to your computer and use it in GitHub Desktop.
find-replace-exclude-git
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
grep -lr --exclude-dir=".git" -e "oldword" . | xargs sed -i "s/oldword/newword/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment