Rsync and Grsync – backup tool
Remote sync (Rsync) is a local and remote file synchronization tool. Using its algorithm, it can efficiently copy and sync files, which allows us to transfer only the differences between two sets of files. Grsync is a GUI frontend for the Rsync tool. Being cross-platform, it works on Linux, Windows, and macOS.
Getting ready
Due to its popularity on Linux and Unix-like systems, Rsync comes pre-installed in most Linux distributions by default. However, if it is not installed, we can install it by running the following command:

Unlike Rsync, Grsync does not come pre-installed in Linux distributions. To install Grsync on Ubuntu, run the following command:

To use Rsync and Grsync for remote file syncing, it's essential to have SSH access enabled on both the systems, and rsync and grsync should be installed on both systems.
How to do it...
In this section, we will see how to use rsync and grsync to synchronize files/directories locally, as well as remotely from one system...