0
Thanks

A few words of thanks would be greatly appreciated.

RSync under Windows


The software application RSync is used for synchronization and for back-up of files and directories. This application is a standard utility in Linux / Unix based systems but it is absent in Windows. Implementations of RSync on Windows can be done through native implementations but it is best to use implementations of cwRsync and DeltaCopy rsync. These implementations have limitations and alternatively the use of the Python rsync.py program is fine, but this program has a few command line options of RSync. Installation of cwRync enables users to have a portable version of the application.

RSync is a powerful directories synchronization and backup.
All Linux / Unix systems have it as standard, but not Windows.


To install RSync on Windows, you need to install Cygwin: http://www.cygwin.com/

cwRync for Windows: http://www.itefix.no/i2/
DeltaCopy for Windows: http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

cwRsync and DeltaCopy rsync are compatible with Linux / Unix.

Older versions of RSync on Windows may be unreliable.

http://www.vdesmedt.com/~vds2212/rsync.html

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)
0
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 Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

0 Comments