Created
August 11, 2016 14:01
-
-
Save jamie-ga/2c47a98fc3c7b632fe86f529fbe076f5 to your computer and use it in GitHub Desktop.
sed rename a load of files
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
for f in `git diff master --name-only`; do cp $f `echo $f | sed -E 's/\.(scss|html)/-v2.\1/'` ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment