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 個月前檢視次數 2302 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南