-
Notifications
You must be signed in to change notification settings - Fork 573
rsync__exclude not excluding anything at all #304
Comments
Fixed by #320 |
I am experiencing the equivalent of #304 and hashicorp/vagrant#4248: rsync does not respect excludes. The suggestion in this comment, that the method implemented in #156:
resolves the issue is also not working for me. |
This issue should be closed |
@rtyler I'm not sure this issue should be closed - the last comment says "the method implemented in ... is also not working for me", though some of what I've replaced with an ellipsis makes it harder to parse that meaning. I'm also not able to successfully exclude files from the rsync, using any of the documented configuration. |
Currently, I'm working around this with the following:
An upside is that when the delta is small the bare rsync command is many times faster than the rsync command wrapped in Vagrant initialization and abstraction. |
Actually - the implementation does work. The problem that I was running into, and perhaps the problem of others, is that (as documented) changes to the Vagrantfile require a |
I can sync directories without any issue but if I want to exclude certain file-type(s) it doesn't work at all. I wanted all the
.json
and.sh
files to be excluded, so I have this:which is syncing
scripts
alright but with everything in it, including the file-types in the rsync__exclude list. Did I do anything wrong here or anything am I still missing? Best!The text was updated successfully, but these errors were encountered: