The rsync utility can be used to mirror a directory locally or over a network. As the name implies, rsync synchronizes two directories. Key benefits of the utility include:
After the first copy, only differences in files are copied, not the entire file. This saves time and bandwidth.
Rsync works with ssh so it can copy files securely over a network.
In this post I cover the basics of
rsync, in preparation for a subsequent post that will cover backups and it’s use in conjunction with cronjobs to automatize the backup process. From the copying and synchronization of local files and folders, to it’s use for transfer information among computers. Its use as a daemon when SSH is unavailable was moved to it’s own section.