Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

sync and cp ignore --add-headers when copying between buckets remote2remote #78

Open
aubergene opened this Issue Sep 10, 2012 · 0 comments

Comments

Projects
None yet
1 participant
# Adds header correctly
s3cmd sync --add-header=Expires:60 local/ s3://bucket2  

# Doesn't add header
s3cmd sync --add-header=Expires:60 s3://bucket1 s3://bucket2  -

Seems this is the same problem

#37 (comment)

I'm not familiar with Python but it looks like perhaps the bug is here, that extra_headers needs to be merged with headers

https://github.com/s3tools/s3cmd/blob/master/S3/S3.py#L411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment