Last active
May 16, 2023 20:58
-
-
Save cheuerde/44688fada18ef1853553 to your computer and use it in GitHub Desktop.
Recursively replace string in all files in current folder and subfolders #unix #tools
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
# take from http://serverfault.com/questions/172806/use-sed-recursively-in-linux | |
find . -type f -print0 | xargs -0 sed -i 's/foo/bar/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment