uncomment copying

This commit is contained in:
Jakub Sokołowski 2018-08-24 14:13:31 -04:00
parent 34a0e13c3a
commit fda4988c1b
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ for f in s3.list_objects_v2(Bucket=BUCKET)['Contents']:
)
print('{:<25} -> {}'.format(name, new_name))
path = '/tmp/{}'.format(new_name)
#s3.download_file(BUCKET, name, path)
#s3.upload_file(path, BUCKET, new_name)
s3.download_file(BUCKET, name, path)
s3.upload_file(path, BUCKET, new_name)