Created
November 4, 2019 06:20
-
-
Save ravishtiwari/e1b4c3709d65893004b3731e8aad0c74 to your computer and use it in GitHub Desktop.
copy with rsync over ssh
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
rsync -arv -e "ssh -A -i ../keys/Ops-Key.pem" \ | |
--exclude .git \ | |
--exclude pythonenv \ | |
--exclude api/node_modules \ | |
--exclude app \ | |
--exclude compl.1 \ | |
--exclude data/db \ | |
--exclude app/wp_md_azi_incl \ | |
--exclude _md_azi_incl__ \ | |
--exclude wp_md_azi_incl.zip \ | |
--exclude .idea \ | |
./* [email protected]:/home/ubuntu/EC2Job/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment