<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">The easiest way I’ve found is to run this command with the AWS CLI tool:</div>
<div class=""><br class="">
</div>
<div class="">aws s3api list-objects --bucket landsat-pds --output json --query "[sum(Contents[].Size), length(Contents[])]”</div>
<div class=""><br class="">
</div>
<div class="">It takes a while to run, but this is what i just got for # of bytes: 21,436,996,283,772, which is 21.44TB.</div>
<div class=""><br class="">
</div>
<div class="">Based on 41 days of acquisition, it looks like we’re doing .52TB per day, which would come out to 382TB over two years. </div>
<div class=""><br class="">
</div>
<div class="">Please let me know if you see anything wrong with my calculations here.</div>
<div class=""><br class="">
</div>
<div class="">Jed.</div>
<div class=""><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Feb 10, 2015, at 1:58 PM, Frank Warmerdam <<a href="mailto:warmerdam@pobox.com" class="">warmerdam@pobox.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Folks - especially Amazon folks,
<div class=""><br class="">
</div>
<div class="">Is there an relatively easy way of finding out how much space is used now in our landsat-pds S3 bucket?  I was wanting to figure out if data volumes matched our expected growth projections, but came to the conclusion that the AWS S3 console does
 not give me an obvious way to find out total bytes used.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Frank</div>
<div class="">-- <br class="">
<div class="gmail_signature">---------------------------------------+--------------------------------------<br class="">
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank" class="">
warmerdam@pobox.com</a><br class="">
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank" class="">
http://pobox.com/~warmerdam</a><br class="">
and watch the world go round - Rush    | Geospatial Software Developer<br class="">
</div>
</div>
</div>
_______________________________________________<br class="">
Landsat-pds mailing list<br class="">
<a href="mailto:Landsat-pds@lists.osgeo.org" class="">Landsat-pds@lists.osgeo.org</a><br class="">
http://lists.osgeo.org/cgi-bin/mailman/listinfo/landsat-pds<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>