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더한것.