Created
May 31, 2011 07:23
-
-
Save srpouyet/1000099 to your computer and use it in GitHub Desktop.
Tar a dir and send over remote
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
# tar a dir and send to remote over ssh | |
tar czf - dirname | ssh user@host '(cd /home && tar xzvf -) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment