Skip to content

Instantly share code, notes, and snippets.

@hxtree
Last active October 31, 2022 19:00
Show Gist options
  • Save hxtree/9a7b510b7d5fcde4e6ab867953a3d261 to your computer and use it in GitHub Desktop.
Save hxtree/9a7b510b7d5fcde4e6ab867953a3d261 to your computer and use it in GitHub Desktop.
SED replace recursively in all files named
find . -type f -name 'package.json' -exec sed -i "s/before/after/" {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment