If I run the command s3cmd get s3://bucket/file.gz -
I get binary output on the screen. If I try to pipe this to gzip with s3cmd get s3://bucket/file.gz - | zcat
I get gzip: stdin: not in gzip format
.
How can I get zcat
to pick it's input from stdin
?