Skip to content

Instantly share code, notes, and snippets.

@tim-phillips
Created September 27, 2023 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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