wickywills
5/31/2017 - 11:02 AM

Rsync example

Rsync example

Had to copy a large file from a client server to an AWS instance. Logged into the AWS instance and ran the following to copy from the remote to the current working directory:

rsync -v -e 'ssh -p 2020' root@1.2.3.4:/var/www/vhosts/some-site.com/htdocs/some-site.tar.gz ./

Progress can be monitored by opening another SSH session into the server and running ll -h