MikA MikA - 1 year ago 904
Python Question

Boto3 copy_object s3

I'm trying to rename a file in my s3 bucket using python boto3, I couldn't clearly understand the arguments. can someone help me here?

What I'm planing is to copy object to a new object, and then delete the actual object.

I found similar questions here, but I need a solution using boto3.

Answer Source

I found another solution

s3 = boto3.resource('s3')
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download