Skip to content

Instantly share code, notes, and snippets.

@syl20bnr
Created December 10, 2012 14:12
Show Gist options
  • Save syl20bnr/4250773 to your computer and use it in GitHub Desktop.
Save syl20bnr/4250773 to your computer and use it in GitHub Desktop.
Replace in files (linux)
# replace in all xml files
find . -name "*.xml" | xargs sed -i 's/reg_exp/replace/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment