On Thu, Feb 26, 2015 at 5:37 AM, Tommy Eriksen <[email protected]> wrote:
> How can I keep the webroot var and media folders and use the --delete
> parameter for all the rest of the files and folders?

Hi there,

https://docs.vagrantup.com/v2/synced-folders/rsync.html

can you try to set parameters, without delete?

rsync__args (array of strings) - A list of arguments to supply to
rsync. By default this is["--verbose", "--archive", "--delete", "-z",
"--copy-links"].

so in your vagrantfile, in the block for rsync add:

rsync__args = ["--verbose", "--archive", "-z", "--copy-links"]

if that doesn't work, try:

rsync__args = ["--exclude", "name_of_symlink"]

Alvaro.

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to