Host Windows - Guest ubuntu - rsync folder -- pathname issues

13 views
Skip to first unread message

Aditya Dhulipala

unread,
Aug 14, 2015, 11:23:11 AM8/14/15
to Vagrant
Hi,

My project is on a Windows machine on L;\projectname

I'd like to sync this with my Ubuntu Virtualbox vm through vagrant using rsync

my vagrantfile has this line 
config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "db/test.sqlite3"]

but this causes the following error:
...
rsync: change_dir "/l/sharedrive" failed: No such file or directory (2)
....

How do I tell rsync of vagrant that the source folder is L:\sharedrive, not /l/sharedrive?

I'm using the rsync that comes with cygwin... Is there anyway I can tell any of the player above that the path names should be translated between windows and posix styles?

Thanks!
Reply all
Reply to author
Forward
0 new messages