콘텐츠로 바로가기

리눅서의 기술술 블로그

오늘도 신나게 갈아넣는 인생

  • Linuxer-?
  • AWS
  • FinOps
  • NCP
  • Kubernetes
  • Linux
  • Certification
  • 기타

[태그:] sum

AWS-S3-directory-size

aws s3 ls s3://linuxer-wp/wp-content/uploads/2019/08/ --human-readable --summarize

aws s3 명령어만으로 조합.

aws s3 ls s3://linuxer-wp/ --recursive --recursive | grep 2020 | awk 'BEGIN {total=0}{total+=$3}END{print total/1024/1024" MB"}'

aws s3 ls + grep + awk total+=$3더한것.

글쓴이 linuxer-admin작성일자 2020년 10월 8일2020년 10월 8일카테고리 AWS태그 s3, sumAWS-S3-directory-size에 댓글 남기기

최신 글

  • 2022 회고 2022년 12월 26일
  • T101-AWS-To-SLACK-Noti - EventBridge 2022년 12월 17일
  • T101-Study-4Week 2022년 11월 12일
  • AWS-FinOps-S3-incomplete-multipart-uploads-MPU 2022년 8월 13일
  • AWS-IAM-Identity-Center 2022년 8월 13일
  • Linuxer-?
  • AWS
  • FinOps
  • NCP
  • Kubernetes
  • Linux
  • Certification
  • 기타
리눅서의 기술술 블로그 Proudly powered by WordPress