RSync under Windows

The software application RSync is used synchronize and back-up files and directories. This application is a standard utility in Linux / Unix based systems but it is absent in Windows.RSync can be implemented on Windows but it is best to use cwRsync and DeltaCopy rsync. Installation of cwRync enables users to have a portable version of the application. Read on for more information.

Install RSync on Windows

Note: Older versions of RSync on Windows may be unreliable.

RSync Portable Version

If you need to put RSync command line on a USB flash drive to synchronize directories, you need to install cwRync and get the following files: rsync.exe, cygwin1.dll and cygz.dll

This allows you to synchronize local directories.

Example: It synchronizes the directory "F: / my files" on the USB key to the folder :c:\usb"

rsync -r -v --size-only --chmod=ugo=rwX "/cygdrive/f/my file" "/cygdrive/c/usb"

It is recommended to use - size-only because the modified date of files in Windows is not always reliable.
- chmod=ugo= rwX is important otherwise you cannot read the files in the destination (NTFS rights locked without this option)

Image ©

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « RSync under Windows », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (