Reputation: 21
CopySource = {
'Bucket': file.bucket_name,
'Key': file.key
}
Bucket = project_bucket
Key = file.key
s3_client.copy_object(Bucket,Key,CopySource)
trying to copy object from one directory of s3 bucket to another s3 with same directory structure
Upvotes: 1
Views: 1646