Last active
January 24, 2022 11:27
-
-
Save sibelius/d73c29d9d6ed75b2bf598ec0a5413264 to your computer and use it in GitHub Desktop.
find old pkg to new pkg
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 \( -iname \*.json -o -iname \*.js -o -iname \*.ts -o -iname \*.tsx \) -not \( -path "*/node_modules/*" -prune \) -exec sed -i '' "s/@old/@new/g" {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment