Created
July 2, 2015 19:01
-
-
Save sayanriju/ae41c48f4b1cdc08e09e to your computer and use it in GitHub Desktop.
Bulk Search & Replace recursively on Bash
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
## Source: http://stackoverflow.com/a/1585810/1823866 | |
find /home/www/ -type f -exec \ | |
sed -i 's/subdomainA\.example\.com/subdomainB.example.com/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment