Last active
June 13, 2021 10:29
-
-
Save mamedshahmaliyev/e734791f11b390a656c92079503d136c to your computer and use it in GitHub Desktop.
Search and Replace - grep sed
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
grep -rl "old" . | xargs sed -i '' 's/old/new/g' | |
escape single quote with: '\'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment