s3 copy bucket object to local folder code example Example: copy folder from s3 to local aws s3 cp s3://myBucket/dir localdir --recursive