Last active
December 24, 2021 22:02
-
-
Save olegch/5020674 to your computer and use it in GitHub Desktop.
Find files skipping some directories and make global replacement
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 . -path ./.git -prune -o -path */target -prune -o -path ./binary -prune -o -type f -print | xargs sed -i 's/1\.6\.0-SNAPSHOT/1.7.0-SNAPSHOT/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment