Skip to content

Instantly share code, notes, and snippets.

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 '*' -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