Skip to content

Instantly share code, notes, and snippets.

@maxlinc
Created December 11, 2014 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxlinc/fc5a6199a60c714441a3 to your computer and use it in GitHub Desktop.
Save maxlinc/fc5a6199a60c714441a3 to your computer and use it in GitHub Desktop.
Rsync: OSX to Windows, using cwrsync installed via chocolatey

Windows (Guest):

rsync --daemon --verbose --no-detach --config=rsyncd.conf --port=2222

Host:

rsync -avzr scripts/ rsync://windows_hostname:2222:/tmp/scripts
use chroot = false
strict modes = false
hosts allow = *
log file = /cygdrive/c/tools/rsync/rsyncd.log
pid file = /cygdrive/c/tools/rsync/rsyncd.pid
[tmp]
comment = Vagrant tmp drive
path = /cygdrive/c/tmp/vagrant
read only = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment