I have an SVG file on amazon s3. When I run the following command to download the file:
aws s3 cp s3://mybucket/test.svg .
It downloads it as a binary file. However if I directly go to the console and download from the GUI it's correctly downloaded as a text/xml file.
Any ideas how to preserve the file content type with aws s3 cp
?