Untitled
unknown
plain_text
2 years ago
286 B
11
Indexable
import boto3
bucketName = 'claim-tarrif-digitization'
s3 = boto3.resource('s3')
for i in os.listdir("/usr/src/app/code/data/wide"):
awsPath = os.path.join("wide", str(i))
s3.meta.client.upload_file(os.path.join("/usr/src/app/code/data/wide",i), bucketName, awsPath)
Editor is loading...