Last active
January 10, 2019 04:52
-
-
Save brev/d3aafdc5b05b05a90a1f8a9a364fc3e0 to your computer and use it in GitHub Desktop.
Text replacement recursive in subtree.
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/sh | |
find /search/path/ -type f -not -path '*/.git/*' | LANG=C LC_ALL=C LC_CTYPE=C xargs sed -i '' -e 's/before/after/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment