Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete all objects from a folder/directory in open stack swift using rest api?

I want to delete all files and folders using folder or container path without listing all files in it. Is it possible?

like image 748
hjjo Avatar asked May 02 '16 03:05

hjjo


1 Answers

Note that with more recent versions of openstack, there is a --recursive option available if you're deleting any entire container:

openstack container delete --recursive mycontainer
like image 117
larsks Avatar answered Sep 21 '22 04:09

larsks