Add folder in Amazon s3 bucket

前端 未结 16 1341
青春惊慌失措
青春惊慌失措 2021-02-06 23:34

I want to add Folder in my amazon s3 bucket using coding. Can you please suggest me how to achieve this?

16条回答
  •  借酒劲吻你
    2021-02-07 00:05

    in-order to create a directory inside s3 bucket and copy contents inside that is pretty simple.

    S3 command can be used: aws s3 cp abc/def.txt s3://mybucket/abc/

    Note: / is must that makes the directory, otherwise it will become a file in s3.

提交回复
热议问题