Reputation: 1036
I have a bunch of already gzipped files in GCS that I'd like to download but keep compressed. When I try to download the files running command: gsutil -m cp -r gs://my-bucket-name/path/to/dir/
, it downloads the files then immediately unzips them.
The files appear to have Content-Encoding:gzip
in their metadata, and gsutil cp
seems to have the default behavior that files with this encoding will automatically decompress when served.
How can I just download the files as-is without it being automatically decompressed?
Upvotes: 1
Views: 4906