Skip to content

Instantly share code, notes, and snippets.

@kucaahbe
Last active October 8, 2015 06:39
Show Gist options
  • Save kucaahbe/3293571 to your computer and use it in GitHub Desktop.
Save kucaahbe/3293571 to your computer and use it in GitHub Desktop.
simple mass string change
sed -i.bak -r 's/Gopa/Sraka/' $(grep -l -r Gopa config)
# for with git
sed -i.bak -r 's/Gopa/Sraka/' $(git grep -l admin)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment