get the size of an Amazon S3 bucket folder / obtener el tamaño de una carpeta en S3


aws s3 ls s3://my-bucket/folder --recursive | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024" MB"}'

Leave a comment