Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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