For using rsync from windows, install cwRsync. cwRsync works well with cmd than with cygwin bash or similar terminals under windows.
rsync -zvr -e 'ssh -p 2222' sourceDir user@ip:/home/user/dir
-z
compress-v
verbose-r
recusive-e
remote shell, -p
can be used if ssh runs on a different port.