How do I delete all objects from my Object Storage bucket?

Linode Staff

Is there a command I can use to delete all objects from my Object Storage bucket at once?

1 Reply

Yes, you should be able to do this with s3cmd as follows:

s3cmd rm --recursive --force s3://your-bucket-name/

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct