Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
add --delete flag
Browse files Browse the repository at this point in the history
This makes more sense, and better matches behavior of "real" shared directories behave (say in virtualbox).
  • Loading branch information
vasili-zolotov committed Jan 30, 2014
1 parent 46b4001 commit 22c7190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-aws/action/sync_folders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def call(env)

# Rsync over to the guest path using the SSH info
command = [
"rsync", "--verbose", "--archive", "-z",
"rsync", "--verbose", "--archive", "-z", "--delete",
*excludes.map{|e|['--exclude', e]}.flatten,
"-e", "ssh -p #{ssh_info[:port]} -o StrictHostKeyChecking=no #{ssh_key_options(ssh_info)}",
hostpath,
Expand Down

0 comments on commit 22c7190

Please sign in to comment.