Skip to content

Instantly share code, notes, and snippets.

@michaelhayman
Created January 14, 2016 08:46
Show Gist options
  • Save michaelhayman/fde975809c274df6e169 to your computer and use it in GitHub Desktop.
Save michaelhayman/fde975809c274df6e169 to your computer and use it in GitHub Desktop.
Recursive search and replace
find . -type f -name '*.rb' -exec sed -i '' s/flash/flash.now/ {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment