[wplug] directory replication in linux.

Rob Nelson ronelson at vt.edu
Sat Jan 27 19:02:38 EST 2001


>that is what i was thinking, but i was wondering if it would get stuck in
>some sort of cyclic problem. if i were to use this method, (correct me if
>i am wrong) after make changes on one computer i would have to run rsync
>on the second computer to sync the changes. is there any way make this
>work like a daemon and make the updates automatically?

The short answer: crontab.

The long answer: judicious use of crontab. You want to make crontab run at
reasonable times. Like, have it run at 5 at work, to sync what you did
during the day, with your home machine. Then at 8am, have your home machine
sync itself with the one at work. Blind updating will only do something
stupid, like start at 12:00 and wipe out a file you create at 12:01.

Rob Nelson
ronelson at vt.edu




More information about the wplug mailing list