Downloading an entire S3 bucket?

前端 未结 30 1376
天命终不由人
天命终不由人 2020-11-29 14:10

I noticed that there doesn\'t seem to be an option to download an entire S3 bucket from the AWS Management Console.

Is there an easy way to grab everything in one of

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 14:59

    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

提交回复
热议问题