Skip to content

Instantly share code, notes, and snippets.

@jeremydw
Last active August 29, 2015 14:03
Show Gist options
  • Save jeremydw/fab7cd0d1a81e5d33990 to your computer and use it in GitHub Desktop.
Save jeremydw/fab7cd0d1a81e5d33990 to your computer and use it in GitHub Desktop.
Recursive find/replace
find . -type f -name '*.txt' -exec sed -i '' s/this/that/ {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment