Using Linux rsync to transfer data to another server
The rsync command is commonly used to transfer data to another server.
Example of how to use rsync to transfer data from one folder to an identical folder on another server:
rsync -vrpog /home/httpdocs/images/ 89.99.111.99/home/httpdocs/images
Note that the slash at the tail of the remote folder is absent! Otherwise, a new folder ‘images’ within the ‘images’ folder is created.