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 ?

asked 5 years ago236 views
1 Answer
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

answered 5 years ago
profile picture
EXPERT
reviewed 22 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions