Hi,
I have question to the combination of inotify and rsync. I want that my documents folder sync with other maschine if the host is up. So I find this soulution in net.
maybe it would be less pain using something like https://syncthing.net/ - it also watches for file changes and syncs documents over your network, and also if one device is outside your network.
Regards Bjoern