Created
September 27, 2023 18:33
-
-
Save tim-phillips/dc8218ca19d0a464fc5b4c914bb94985 to your computer and use it in GitHub Desktop.
When you want to run sed on multiple files
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
find . -type f -name "*" -print0 | xargs -0 sed -i "s/can't/can/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment