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