From 8d0b000921c61c15552a93f7b0e7100676992958 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 17 Jan 2016 22:56:12 -0800 Subject: [PATCH] Emit storage class in info subcommand --- s3cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/s3cmd b/s3cmd index 6785ab7f0..d6aa9945a 100755 --- a/s3cmd +++ b/s3cmd @@ -854,6 +854,7 @@ def cmd_info(args): output(u" File size: %s" % info['headers']['content-length']) output(u" Last mod: %s" % info['headers']['last-modified']) output(u" MIME type: %s" % info['headers'].get('content-type', 'none')) + output(u" Storage: %s" % info['headers'].get('x-amz-storage-class', 'STANDARD')) md5 = info['headers']['etag'].strip('"\'') try: md5 = info['s3cmd-attrs']['md5']