Thursday, February 26, 2009

rsync for windows

Transition from *nix to windows platform is hard..it's high time someone writes "*nix to *dos for dummies". Last day I had to sync two folders and I was searching something similar to rsync in unix.Usually most of my search for tools in windows ends up in a free trail installers.Luckily this time i was blessed. Although not so feature rich as rsync it does the work done .I am talking od xcopy command in windows command promt.

enough of bla bla bla tell how do we sync to folders..

xcopy [source] [destination] \s \d

\s : for subdirectories (similar to -r in *nix)
\d : for copying just the folder differences