Last active
August 29, 2015 14:06
-
-
Save raiden2012/dff626af24666b9c2555 to your computer and use it in GitHub Desktop.
Change multi files content and names
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 matchstring somedir/ | xargs sed -i 's/string1/string2/g' | |
rename foo bar filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment