RSync under Windows
RSync is a powerful directories synchronization and backup.
All Linux / Unix systems have it as standard, but not Windows.
You can have all the same:
You can use rsync comes with Cygwin (though it's pretty heavy because we 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 is compatible with Linux / Unix.
I recommend you avoid other implementations of rsync: Some native implementations of rsync on Windows are not reliable (beta, Implementation buguées older versions of rsync, etc.).
/! \WARNING /! \: All current implementations of rsync on Windows (whether cwRync, DeltaCopy or other) support international characters wrong (none of UTF-8) and do not support the path of more than 255 characters.
The only way around these 2 issues is to use the Python rsync.py program that mimics the functioning of rsync (Warning: this is not a full equivalent of rsync, and only a fraction of the command line options are available ).
http://www.vdesmedt.com/~vds2212/rsync.html
RSync Portable Version
If you need to take rsync command line on USB flash drive to synchronize directories, you just install cwRync and get the following files:
rsync.exe,
cygwin1.dll and
cygz.dll
This allows you to synchronize local directories (not in network.)
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 can not read the files in the destination (NTFS rights locked without this option)