Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 14:52:40 -0500
From:      "Craig Reyenga" <craig@craig.afraid.org>
To:        "Steven N. Fettig" <freebsd@stevenfettig.com>
Cc:        questions@freebsd.org
Subject:   Re: Two-way Sync of Directories - how? (rsync?)
Message-ID:  <000b01c409fd$e8be2d90$0200000a@redline>
References:  <4054B6A3.7080704@stevenfettig.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is NFS an option? It does mean that the client will have slower file access,
but it would appear to do exactly what you are after...

Hope this at least partially helps.

-Craig


----- Original Message -----
From: "Steven N. Fettig" <freebsd@stevenfettig.com>
To: <freebsd-questions@freebsd.org>
Sent: Sunday, March 14, 2004 2:46 PM
Subject: Two-way Sync of Directories - how? (rsync?)
> 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?
>
> Thanks,
> Steve Fettig
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c409fd$e8be2d90$0200000a>