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?

posta 6 mesi fa2294 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 6 mesi fa
profile picture
ESPERTO
Kallu
verificato 6 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande