Amazon S3 boto:如何重命名存储桶中的文件? [英] Amazon S3 boto: How do you rename a file in a bucket?

查看:39
本文介绍了Amazon S3 boto:如何重命名存储桶中的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 boto 重命名存储桶中的 S3 密钥?

How do you rename a S3 key in a bucket with boto?

推荐答案

您无法重命名 Amazon S3 中的文件.你可以用一个新名称复制它们,然后删除原来的,但没有适当的重命名功能.

You can't rename files in Amazon S3. You can copy them with a new name, then delete the original, but there's no proper rename function.

这篇关于Amazon S3 boto:如何重命名存储桶中的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆