Synchronizing files with Rsync in Ubuntu
In this recipe, we will learn how to use the Rsync utility to synchronize files between two directories or between two servers.
How to do it…
Follow these steps to synchronize files with Rsync:
Set up key-based authentication between source and destination servers. We can use password authentication as well, which is described later in this recipe.
Create a sample directory structure on the source server. You can use existing files as well:
ubuntu@src$ mkdir sampledir
- Read more about Synchronizing files with Rsync in Ubuntu
- Log in or register to post comments