Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created August 31, 2013 12:59
Show Gist options
  • Save seyDoggy/6398029 to your computer and use it in GitHub Desktop.
Save seyDoggy/6398029 to your computer and use it in GitHub Desktop.
Recursively find and replace in files
find . -name "*.js" -print0 | xargs -0 sed -i '' -e 's/foo/bar/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment