Created
August 16, 2019 04:21
-
-
Save MikimotoH/e34a40ced7f133e8104fb31b7de9b2d9 to your computer and use it in GitHub Desktop.
ssh tar download exclude directory
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 [email protected] "cd ~/project; tar --exclude='./downloads' -zcvf - ." | tar zxvf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ssh upload