如何重命名 Amazon S3 中的文件和文件夹? [英] How to rename files and folder in Amazon S3?
本文介绍了如何重命名 Amazon S3 中的文件和文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何功能可以重命名 Amazon S3 中的文件和文件夹?也欢迎任何相关建议.
Is there any function to rename files and folders in Amazon S3? Any related suggestions are also welcome.
推荐答案
在 S3 中没有重命名文件的直接方法.您需要做的是使用新名称复制现有文件(只需设置目标键)并删除旧文件.
There is no direct method to rename a file in S3. What you have to do is copy the existing file with a new name (just set the target key) and delete the old one.
这篇关于如何重命名 Amazon S3 中的文件和文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文