Last active
April 3, 2016 19:12
-
-
Save ionatan-israel/ebc81156634fd3b634cf to your computer and use it in GitHub Desktop.
This command will do it (tested on both Mac OS X Lion and Kubuntu Linux).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recursively find and replace in files | |
find . -type f -name '*.js' ! -path "./node_modules/*" -exec sed -i '' s/'old_string'/'new_string'/ {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment