apetkevicius
3/21/2018 - 10:38 AM

How to use scp & rsync

rsync -a ~/dir1 username@remote_host:destination_directory

rsync -a username@remote_host:/home/username/dir1 place_to_sync_on_local_machine

scp -r eurocockpit.be:/home/euroco1q/eurocockpit.be/db/eurocockpit.be-master-2019-01-05-0731.sql.gz ~/www