Created
June 16, 2018 20:13
-
-
Save mikerr/4e5262efea29b509aed1bd600b992cb6 to your computer and use it in GitHub Desktop.
transfer directory over ssh
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 cf - * | ssh -C root@serverIP "cd /home/dir; tar xvf -" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment