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?

gefragt vor 6 Monaten2292 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 6 Monaten
profile picture
EXPERTE
Kallu
überprüft vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen