티스토리 뷰
728x90
aws s3 ls s3://bucket --recursive | grep -v -E "(Bucket: |Prefix: |LastWriteTime|^$|--)" | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024/1024" GB"}'
https://gist.github.com/stefhen/06e9e87cb28eb46b9e34
aws cli s3 du
aws cli s3 du. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
728x90
'공부' 카테고리의 다른 글
[aws] s3, s3n, s3a (0) | 2022.11.26 |
---|---|
[spark] spark-submit --conf spark.yarn.appMasterEnv.JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64 (0) | 2022.11.26 |
[aws] CloudTrail vs CloudWatch (0) | 2022.11.26 |
[spark] spark streaming, DStream, streaming context, windowing, watermarking (0) | 2022.11.26 |
[aws] s3 life cycle rule (0) | 2022.11.25 |
댓글