Question

I have a few GB of files on S3, and I need to mass update the metadata for all of them. I know that s3cmd can update the metadata when you transfer a file:

s3cmd -m text/html --add-header='Content-Encoding: gzip' put [files] s3://...

However I don't want to retransfer the files to S3. Can s3cmd update the metadata of a key only without transferring the file?

Était-ce utile?

La solution

This may be possible in the future for s3cmd: https://github.com/s3tools/s3cmd/issues/37

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top