in reply to Best practices for file synchronization? (Mod time vs. contents compare)

You should be able to get rsync installed without all of Cygwin; it should just need the executable and the Cygwin DLL. This site's cwRsync appears to be just that (though I haven't tried it). That is probably the most robust solution; rsync tries hard to minimize data communications while maximizing accuracy.

Using just modification time and size may mostly work OK if your clocks are in sync. If you want to try this, you should at least make sure everybody's running NTP. There's still a potential for conflicts if there's more than one person updating data, though.

Replies are listed 'Best First'.
Re^2: Best practices for file synchronization? (Mod time vs. contents compare)
by DrHyde (Prior) on Jun 13, 2006 at 09:06 UTC
    What he said.

    To do anything other than use rsync would be really stupid. Spend your valuable time on something more productive than reinventing this nasty wheel.

Re^2: Best practices for file synchronization? (Mod time vs. contents compare)
by jaa (Friar) on Jun 13, 2006 at 08:25 UTC
    I agree - rsynch is the way to go - the next feature you will want is bandwidth limiting, then after that you will want maybe ssh tunnelling with key authentication for security, and then after that you will want permission synchronisation, and then... well, you get my drift.

    Regards,

    Jeff