Add folder in Amazon s3 bucket

前端 未结 16 1364
青春惊慌失措
青春惊慌失措 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:01

    I guess your query is just simply creating a folder inside folder(subfolder). so while coping any directory data inside a bucket sub folder use command like this.

    aws s3 cp mudit s3://mudit-bucket/Projects-folder/mudit-subfolder --recursive

    It will create a subfolder and put ur directory contents in it. Also once your subfolder data gets empty. Your Subfolder will automatically gets deleted.

提交回复
热议问题