简体   繁体   中英

Is there a way to use mv command to move directory in S3 bucket with aws-sdk ruby gem?

I am using aws-sdk v1 ruby gem. I want to move a directory to another one in one S3 bucket.

I read the document of v1, but didn't find that method. Is it possible?

I think the move method is not available in any of the AWS SDKs. For one, I have checked the Ruby and PHP SDK.

However, there is a mv command in the AWS-CLI tool which you can use to achieve your desired result.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM