1
Thanks

A few words of thanks would be greatly appreciated.

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 © 123rf.com
1
Thanks

A few words of thanks would be greatly appreciated.

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.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Related

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 (ccm.net).