Upload and download whole content of bucket

0

i want to upload and download whole content of s3 bucket content using command line. is there any command ?

已提问 5 年前244 查看次数
1 回答
2

AWS sdk API will only best option for upload entire folder and repo to s3 and download entire bucket of s3 to locally.

For uploading whole folder to s3

aws s3 sync . s3://BucketName
for download whole s3 bucket locally

aws s3 sync s3://BucketName .
you can also assign path As like BucketName/Path for particular folder in s3 to download

已回答 5 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则