Skip to content

Instantly share code, notes, and snippets.

@tim-phillips
Created September 27, 2023 18:33
Show Gist options
  • Save tim-phillips/dc8218ca19d0a464fc5b4c914bb94985 to your computer and use it in GitHub Desktop.
Save tim-phillips/dc8218ca19d0a464fc5b4c914bb94985 to your computer and use it in GitHub Desktop.
When you want to run sed on multiple files
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