yum -y install lsyncd
vi /etc/lsyncd.conf
settings { logfile = "/var/log/lsyncd.log", statusFile = "/var/log/lsyncd.stat", statusInterval = 2, } sync { default.rsync, source="/home/ning/cloud/", target="/home/ning/www/" } sync { default.rsync, source="/home/ning/www/", target="/home/ning/cloud/" }
Save my name, email, and website in this browser for the next time I comment.
CAPTCHA Code *
Real-time two way file synchronization on Centos
Image Gallery
Recent Posts
Categories
Meta