aws s3 ls --summarize --human-readable --recursive s3://bucket_name/go/to/path | grep 'Total'
Change bucket_name and go/to/path to yours
Security Researcher, DevOps, SRE
aws s3 ls --summarize --human-readable --recursive s3://bucket_name/go/to/path | grep 'Total'
Change bucket_name and go/to/path to yours
aws codebuild create-webhook --project-name --filter-groups "[[{\"type\":\"EVENT\",\"pattern\":\"PULL_REQUEST_MERGED\"}]]"
This one is for installing awscli command on Ubuntu. Before the installation, make sure you have pip installed on your system.
$ pip install --user awscli
aws --profile foo s3 ls