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