title: aws s3api list-objects-v2 display date and size in human readable
body: <p>I would like to know how to display the date and size using aws s3api list-objects-v2</p>
  
  <p>using the below commad:</p>
  
  <pre><code>aws s3api list-objects-v2 --bucket mybucket --prefix Videos --query "Contents[?StorageClass=='STANDARD_IA'].Key" --output text | sed 's/\t/\n/g'
  
  Ouutput: 
  Videos/test2/test2.mxf
  Videos/mov2.mp4
  
  My desired output:
  
  1/18/2018  1.0 GiB Videos/test2/test2.mxf
  1/18/2017  3.0 GiB Videos/mov2.mp4
  </code></pre>
  
  <p>Thanks</p>