From c05a44face2ab4bd94340c1fe956d790c0821534 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 13 Jan 2014 11:40:46 -0800 Subject: [PATCH] synced_folders/rsync: pass --delete option to delete bad files --- plugins/synced_folders/rsync/helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/synced_folders/rsync/helper.rb b/plugins/synced_folders/rsync/helper.rb index 069bd1ab1..9627801e4 100644 --- a/plugins/synced_folders/rsync/helper.rb +++ b/plugins/synced_folders/rsync/helper.rb @@ -30,6 +30,7 @@ module VagrantPlugins "rsync", "--verbose", "--archive", + "--delete", "-z", excludes.map { |e| ["--exclude", e] }, "-e", rsh,