Created
February 10, 2015 21:19
-
-
Save jbickar/03d2b5ac45b421024aed to your computer and use it in GitHub Desktop.
Use find and sed to update all version numbers within a directory
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 . -name "*.info" -exec sed -i '' 's/version\ \=\ 7.x-2.2/version\ \=\ 7.x-2.3/g' "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment