Skip to content

Instantly share code, notes, and snippets.

@matDobek
Created November 20, 2015 14:15
Show Gist options
  • Save matDobek/4c39acec734757ab80b2 to your computer and use it in GitHub Desktop.
Save matDobek/4c39acec734757ab80b2 to your computer and use it in GitHub Desktop.
grep -rl "SEARCHED_PHRASE" spec/ | xargs sed -i "" "s/SEARCHED_PHRASE/REPLACE/g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment