Last active
August 5, 2016 16:22
-
-
Save AlexJoz/e6e45e3c84fb7143cb1da0f8c9f46e76 to your computer and use it in GitHub Desktop.
Syncronize files with running ec2 instance (download data from aws)
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
sudo rsync -azv -e "ssh -i /home/ubuntu/key-to-ec2.pem" [email protected]:/home/ubuntu/source/ /home/ubuntu/target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment