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

Malfunction
closed-fixed
nobody
s3cmd (119)
5
2015-02-06
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
  • Matt Domsch

    Matt Domsch - 2015-02-06

    I believe this is fixed in 1.5.1.2.

     
  • Matt Domsch

    Matt Domsch - 2015-02-06
    • status: open --> closed-fixed
     

Log in to post a comment.