sync depends on ETag == MD5 sum of the remote object
in the bucket listings. Unfortunately for multipart
uploaded objects this is not true. We need to come up
with some other way to store the MD5 sum for sync to
work.
... | ... |
@@ -837,6 +837,10 @@ def cmd_sync_local2remote(args): |
837 | 837 |
|
838 | 838 |
s3 = S3(cfg) |
839 | 839 |
|
840 |
+ ## FIXME |
|
841 |
+ cfg.multipart_enabled = False |
|
842 |
+ warning(u"MultiPart: disabled for 'sync' command. Don't panic, we'll fix it!") |
|
843 |
+ |
|
840 | 844 |
if cfg.encrypt: |
841 | 845 |
error(u"S3cmd 'sync' doesn't yet support GPG encryption, sorry.") |
842 | 846 |
error(u"Either use unconditional 's3cmd put --recursive'") |