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