Created
August 6, 2015 05:38
-
-
Save shibulijack-fd/c0523fba67e0da85b2e1 to your computer and use it in GitHub Desktop.
One liner to replace text in a folder
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
find ~/Projects/Personal/wordpress -type f -iname '*.html' -exec sed -i.bak 's#http://localhost/wordpress#http://freshdesk.com#g' "{}" + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment