Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#129 Support for Cache-Control and Expires for remote sync

Malfunction
open
nobody
s3cmd (117)
5
2013-04-17
2013-01-25
Beerbal
No

I tried sync'ing between 2 s3 buckets using
s3cmd --no-preserve --guess-mime-type --acl-public --add-header="Cache-Control:max-age=2592000" sync s3://bucket-dev/js s3://bucket-www

In the destination bucket, i don't see Cache-Control in the metadata section.

Is this feature not supported or am i missing something ? Please advise.

Thanks,
B

Discussion

  • J. Merrill
    J. Merrill
    2013-04-17

    I'm not sure it will matter, but there are many places in s3cmd where the presence (or lack) of a trailing / on an s3 name matters. Does the same thing happen if your command ends with

    s3://bucket-www/

    instead?

     
    Last edit: J. Merrill 2013-04-17