Listed on

Rsync on Windows

Rsync is probably one of the most useful tools for moving / synchronising files at reasonable bandwidth speed.

One particularly useful trick to reduce down time for daemons when moving their storage is to initially copy their file store while the daemon is running, take the daemon down, then sync the file store before bringing the daemon up. The down time of the daemon is vastly reduced as you only need to copy the changed data.

Thanks to Cygwin this tool can be enjoyed on Windows as well as Unix, FreeBSD, Linux, MacOSX etc the only trick is how do you access windows drives in a Unix like way.
The secret is the /cygdrive prefix. Using this it becomes trivial to write commands like:

C:\Program Files\DeltaCopy\rsync -av "/cygdrive/d/" "/cygdrive/f/"

for to copy the contents of drive D: to drive F: