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