title: How to convert AWS sync command using s3cmd
body: <p>How can I convert the following command and use s3cmd instead?</p>
  
  <pre><code>aws s3 sync ./test s3://test --content-encoding "gzip" --content-type "text/html" --cache-control "max-age=0, no-cache" --exclude "*" --include "index.html" --profile stage
  </code></pre>
  
  <p>I want to set the content-encoding, cache-control, content-type, include and exclude tags and profile as I did above.</p>