Two-way Sync of Directories - how? (rsync?)
dany_list at natzo.com
Thu Apr 1 18:41:03 PST 2004
Have you tried unison (FreeBSD, linux, win32, OSX) ?
http://www.cis.upenn.edu/~bcpierce/unison/ (available in ports too)
Steven N. Fettig wrote:
> I have two workstations I use (one at home and one at work) connected
> via a private DSL link that each have the directories /home/me. I
> want to run a cron job to sync the directories (bi-directionally).
> Rsync seems to work only in one direction (I know I could set up the
> script on both machines), but I wanted to see if I could run the
> script on one machine and simply copy new files over to the lacking
> machine or update files via checksums (where a file has been updated
> on one machine and I want that updated file to be copied over the old
> file on the other machine). I am not worried about the case where I
> might update a given file on both machines at the same time - it
> doesn't happen.
> Any advice and scripts that you use to accomplish this?
> Steve Fettig
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions