Created
August 14, 2016 00:30
-
-
Save tqyq/a03363c8bd79bdea2aa3e3668f91a613 to your computer and use it in GitHub Desktop.
replace a string in multiple files in linux command line
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 -exec sed -i 's/string1/string2/g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment