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 ?

demandé il y a 5 ans244 vues
1 réponse
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

répondu il y a 5 ans
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions