How to Rsync between two folders automatically on file changes 2

How to Rsync between two folders automatically on file changes
A common usage of rsync is to copy files from one location to another, rsync is the successor of scp command . However, there are some advantages that rsync has over scp: Incremental transfer: rsync can transfer only the differences between two files, which makes it faster and more efficient than scp. This is particularly ...