Best way to instantly mirror/sync files from Windows to Linux server

EvilPuppetMaster picture EvilPuppetMaster · Jan 8, 2009 · Viewed 81k times · Source

I have a directory on a Windows machine with a large number of files and folders that I need to watch and have the files mirrored/synced instantly (or as near to as possible), to a Linux machine over the local network.

I've investigated: - Rsync, not realtime enough - WinSCP 'Keep directories up to date' feature, which was OK but limited to 500 directories and the performance was pretty slow.

There are a bunch of results of shareware-style apps that claim to do this, but they are all pretty dubious looking. It seems there must be a good FOSS solution somewhere?

UPDATE: I'd be happy with a one-way transfer rather than a full sync, as long as it's instant and automatic.

Answer

eneset picture eneset · Jan 8, 2009

Have a look at Unison (http://www.cis.upenn.edu/~bcpierce/unison/). I successfully used it for Linux/Windows home directory mirroring.