lib/wordmove/hosts/remote_host.rb in wordmove-0.0.2 vs lib/wordmove/hosts/remote_host.rb in wordmove-0.0.3
- old
+ new
@@ -54,10 +54,10 @@
exclude_file = Tempfile.new('exclude')
exclude_file.write(options.exclude.join("\n"))
exclude_file.close
- locally_run "rsync", "-az", "--password-file=#{password_file.path}", "--exclude-from=#{exclude_file.path}", "--delete", source_dir, destination_dir
+ locally_run "rsync", "-azlK", "--password-file=#{password_file.path}", "--exclude-from=#{exclude_file.path}", "--delete", source_dir, destination_dir
password_file.unlink
exclude_file.unlink
end