Skip to content

Instantly share code, notes, and snippets.

@gustiando
Last active April 19, 2018 15:27
Show Gist options
  • Save gustiando/38975f1100211cecc3f0 to your computer and use it in GitHub Desktop.
Save gustiando/38975f1100211cecc3f0 to your computer and use it in GitHub Desktop.
[Find and replace strings in directory] bash shortcut to find and replace a string across all files under a specified dir #Utilities
find . -type f -name '*.js.coffee' -exec sed -i '' s#find#replace#g {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment