Delete the directory object in the bucket on the light sail storage

0

Enter image description here

I want to delete the directory in the bucket. But I can find deleting a file in the bucket, not directory. How can I delete the 'static' directory object??

mia
asked a year ago234 views
1 Answer
1

Hi, based on 7. of "Delete objects using the Lightsail console" in https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-deleting-bucket-objects the deletion of the last object in a folder also deletes the folder

profile pictureAWS
EXPERT
answered a year ago
  • I already checked this document, but I cannot find the information about deleting directory in the bucket. Is this commend "aws s3api delete-objects --bucket BucketName --delete file://LocalDirectory" used for the deleting directory? then, How can I Open a Command Prompt or Terminal window?

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