Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francois-pasquier/1d8bdf131a098ff5a9ce820879b7a7f4 to your computer and use it in GitHub Desktop.
Save francois-pasquier/1d8bdf131a098ff5a9ce820879b7a7f4 to your computer and use it in GitHub Desktop.
replace
rg 'term1' --files-with-matches | xargs sed -i 's/term1/term2/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment