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

Commit

Permalink
Merge pull request #194 from vasili-zolotov/master
Browse files Browse the repository at this point in the history
add --delete flag to rsync command
  • Loading branch information
R. Tyler Croy committed May 30, 2014
2 parents 740f73e + 22c7190 commit 138e135
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 @@ -83,7 +83,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]} #{ssh_key_options(ssh_info)} " +
ssh_options_to_args(ssh_options).join(' '),
Expand Down

0 comments on commit 138e135

Please sign in to comment.