Created
September 14, 2019 04:59
-
-
Save sarah-j-smith/d3eddd59ba87aacef814358570312480 to your computer and use it in GitHub Desktop.
The amazingly awesome tar pipe command for copying trees of files around
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
# https://blog.extracheese.org/2010/05/the-tar-pipe.html | |
# on Mac the --exclude-vcs is not available - can add --exclude .git | |
(cd /Users/ssmith6/depot/js-intro-workshop && tar cf - .)|(cd /Users/ssmith6/depot/Android101 && tar xvfp -) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment