Synchronize directories in Ubuntu with lsyncd

michaelchelen.net — Lsyncd uses inotify to efficiently detect modification of files. Rsync then runs automatically to synchronize those changes with the remote directory. Rsync is the most efficient way to update files if only some of them have been modified. When performing backups or migrating servers files often must be copied with the same directory structure. If those files are being changed frequently then running rsync automatically reduces the manual work. Because lsyncd is not currently available in the official Ubuntu repositories, we have to add a Personal Package Archive (PPA). Thanks to Eugene San for preparing the Ubuntu package. These steps will install lsyncd and begin synchronizing one specified directory. Tested with lsyncd 1.34 in Ubuntu 10.04 Lucid Lynx Aug 31, 2010 View in Crawl 4

Synchronize directories in Ubuntu with lsyncd