可以s3cmd检索Amazon S3的对象的元数据?对象、数据、s3cmd、Amazon

2023-09-11 09:49:15 作者:犯二的迷糊

使用s3cmd sync命令,我可以在S3上以本地存储备份加密文件。当试图恢复这些文件恢复到S3我必须设置如x-AMZ-元-X-AMZ-键和X-AMZ-元-X-AMZ-IV为每个文件的元数据。我的问题是如何使用s3cmd为检索对象的元数据在Amazon S3?

With s3cmd sync command I can backup encrypted files on S3 to local storage. When trying to restore these files back to S3 I have to set metadata like x-amz-meta-x-amz-key and x-amz-meta-x-amz-iv for each file. My question is how to use s3cmd for retrieve metadata of an object on Amazon S3?

推荐答案

上游github.com/s3tools/s3cmd主分支有这个承诺,现在它也散发出的所有元数据中的信息的命令。

Upstream github.com/s3tools/s3cmd master branch has this commit now which does emit all metadata in the info command.

提交36352241089e9b9661d9ee586dc19085f4bb13c9 作者:安德鲁·高卢 日期:星期二03月10日四时36分04秒2015年-0700

commit 36352241089e9b9661d9ee586dc19085f4bb13c9 Author: Andrew Gaul Date: Tue Mar 10 04:36:04 2015 -0700

Emit user metadata in object info
 
精彩推荐
图片推荐