R
R
riegel2019-04-07 23:09:54
Amazon Web Services
riegel, 2019-04-07 23:09:54

How to recursively change the extensions of "files" in an S3 bucket?

There is an S3 bucket with "folders" that store a lot of "files". Some files have the JPG extension (in upper case).
How can I recursively bypass all "folders" and change the extension of these particular files to lower case?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2019-04-07
@inoise

It is impossible recursively because there are no files and structures there. You can use LIST operations. You will have to receive all the invalid objects and transfer them to a new address. You can still play around with AWS s3 sync if the operation is one-time

A
Andy_U, 2019-04-07
@Andy_U

Look here , choose a programming language and go.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question