Created
November 5, 2013 17:54
-
-
Save eyecatchup/7323201 to your computer and use it in GitHub Desktop.
Wicket trick to directly copy data from the "machine-where-precious-data-is" to the machine you are working on, using the benefits of tar (preserving permissions, links, etc) but not being hindered by the difficulties of tar. (making these possibly large files and so on.) - @author: http://meinit.nl/using-tar-and-ssh-to-efficiently-copy-files-pr…
This file contains hidden or 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
ssh user@machine-where-precious-data-is "tar czpf - /some/important/data" | tar xzpf - -C /new/root/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment