S3

Copy

aws s3 cp s3://example-src/ s3://example-dest/example-src/ --recursive

Delete folder

aws s3 rm s3://example-bucket/example-folder/2018 --recursive --dryrun

Get bucket size

aws s3 ls --summarize --human-readable --region eu-west-1 --recursive s3://example-bucket/

Get bucket region

aws s3api get-bucket-location --bucket example-bucket

Last updated