copy folder from s3 to local
aws s3 cp s3://myBucket/dir localdir --recursive
copy folder from s3 to local
aws s3 cp s3://myBucket/dir localdir --recursive
copy files from s3 to s3 bucket
import boto3
s3 = boto3.resource('s3')
copy_source = {
'Bucket': 'mybucket',
'Key': 'mykey'
}
s3.meta.client.copy(copy_source, 'otherbucket', 'otherkey')
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us