Skip to content

Instantly share code, notes, and snippets.

@apux
Last active October 11, 2015 04:48
Show Gist options
  • Save apux/3805745 to your computer and use it in GitHub Desktop.
Save apux/3805745 to your computer and use it in GitHub Desktop.
replace string in multiple files
find . -name "*.rb" | xargs sed -i 's/foo/bar/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment