Created
August 9, 2016 02:11
-
-
Save nabinno/0acd1116c22bd990be2e7b69d18568c9 to your computer and use it in GitHub Desktop.
git-awk-xargs-cp
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
(cd ../foo.org && git status -sb | awk '$1=="M"{print $2}' | xargs -i cp -f {} ../foo/{}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment