Menu

#165 s3cmd sync with -M doesn't guess content-type

Malfunction
open
nobody
None
5
2015-03-04
2015-02-22
Alec Taylor
No

All my content-types are set to text/plain. Even though everything is well named, e.g.: with .css, .js, and .html extensions.

Discussion

  • Matt Domsch

    Matt Domsch - 2015-02-23

    what version of s3cmd? 1.5.2? What OS and version? Does your /etc/magic file have, if anything?

     
  • Alec Taylor

    Alec Taylor - 2015-03-04

    My /etc/magic is empty on Ubuntu 14.10 x64. I am using s3cmd 1.5.2.

    Ended up using aws s3 sync which worked right off the mark:

    usage: aws s3 sync <LocalPath> <S3Path> or <S3Path> <LocalPath> or <S3Path> <S3Path>
    
     

Log in to post a comment.