How to merge multiple files from S3 bucket into a single file?

0

I am very new to AWS S3. Currently my database is ingesting the log file into S3 bucket for each month. I would like to merge the files which are currently available in my bucket and save it as one file in the same bucket. All the files are in csv format.

Could anyone please help me on this?

已提问 6 个月前2284 查看次数
1 回答
0

Hi,

I'd suggest to follow the question https://stackoverflow.com/questions/32448416/amazon-s3-concatenate-small-files on StackOverflow: it explains why and how you should do it + provides the Python code to do it on cloud (you don't want to dowload and re-upload)

Best

Didier

profile pictureAWS
专家
已回答 6 个月前
profile picture
专家
Kallu
已审核 6 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则