Simple RSync commands

There is a wealth of knowledge on RSync, these are the few commands for those that just want a quick copy paste. I’ll update this list with more as I need them

Transfer folder from your remote server to your local machine

rsync -r [email protected]:/var/www/directory ~/directory_it_will_go_into

Transfer folder from your local machine to your remote server

rsync -r folder_to_transfer [email protected]:/var/www/directory_it_will_go_into

By Sean

Created SwitchedBit.

Leave a Reply

Your email address will not be published.