Created
May 7, 2013 14:34
-
-
Save ovntatar/5533023 to your computer and use it in GitHub Desktop.
Replace a string in all the files recursively!
This file contains 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
#!/bin/bash | |
find . -type f | xargs perl -pi -e 's/OLD_VALUES/NEW_VALUE/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment