Skip to content

Instantly share code, notes, and snippets.

@0xadada
Created March 11, 2014 14:24
Show Gist options
  • Save 0xadada/9486783 to your computer and use it in GitHub Desktop.
Save 0xadada/9486783 to your computer and use it in GitHub Desktop.
Grep for string in files and replace with sed
grep -rli 'SignupLightbox' app/controller/website/ | xargs sed -i "" 's/SignupLightbox/SemLightbox/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment