Created
April 23, 2015 23:00
-
-
Save selbyk/69162a90870f2d517e4e to your computer and use it in GitHub Desktop.
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
<MacGyver> selby: ssh user@host "tar -czf - /folder/to/backup" | tar -xzf - /folder/where/it/should/go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ssh admin@hey.com "tar -czf - ~" | tar -xzf -