Created
August 29, 2019 15:51
-
-
Save carlosfaria94/96d2e92c7760fdea638926d4e992161e to your computer and use it in GitHub Desktop.
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
| copy file or dir from local machine to server | |
| rsync -avz -e "ssh -i /home/user/ssh/secure.pem" /path/to/folder/ [email protected]:/path/to/directory/ | |
| copy file or dir from server to local machine | |
| rsync -avz -e "ssh -i /home/user/ssh/secure.pem" [email protected]:/path/to/directory/ /path/to/directory/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment