Skip to content

Instantly share code, notes, and snippets.

@mlabrum
Created March 17, 2015 02:36
Show Gist options
  • Save mlabrum/0dda4f7b0a88389fea06 to your computer and use it in GitHub Desktop.
Save mlabrum/0dda4f7b0a88389fea06 to your computer and use it in GitHub Desktop.
vagrant rsync windows
rsync on windows working correctly with vagrant:
install and add this to the PATH https://www.itefix.net/dl/cwRsync_5.4.1_x86_Free.zip (make sure that this is before git on the path, otherwise ssh wont work correctly)
You'll also have to patch vagrant to run this correctly (https://github.com/mitchellh/vagrant/issues/3230 ):
find
hostpath = Vagrant::Util::Platform.cygwin_path(hostpath)
and change it to
hostpath = "/cygdrive" + Vagrant::Util::Platform.cygwin_path(hostpath)
then rsync should work correctly on windows through vagrant.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment