summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2015-06-11 14:33:39 -0700
committerTim Burke <tim.burke@gmail.com>2016-01-12 15:40:57 -0800
commit7a1e192803b8f4b739c9c3086bbfdc9a9c8d6753 (patch)
tree508af2dd3f12e97927508ec032640b9c33e9baa2 /doc
parent6ed6c3343f73e170b259c1dc1956017da2c17620 (diff)
downloadpython-swiftclient-7a1e192803b8f4b739c9c3086bbfdc9a9c8d6753.tar.gz
Use bulk-delete middleware when available
When issuing `delete` commands that would require three or more individual deletes, check whether the cluster supports bulk deletes and use that if it's available. Additionally, a new option is added to the `delete` command: * --prefix <prefix> Delete all objects that start with <prefix>. This is similar to the --prefix option for the `list` command. Example: $ swift delete c --prefix obj_prefix/ ...will delete from container "c" all objects whose name begins with "obj_prefix/", such as "obj_prefix/foo" and "obj_prefix/bar". Change-Id: I6b9504848d6ef562cf4f570bbcd17db4e3da8264
Diffstat (limited to 'doc')
-rw-r--r--doc/manpages/swift.11
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/manpages/swift.1 b/doc/manpages/swift.1
index 8672a11..b9f99c4 100644
--- a/doc/manpages/swift.1
+++ b/doc/manpages/swift.1
@@ -93,6 +93,7 @@ You can specify optional headers with the repeatable cURL-like option
\fBdelete\fR [\fIcommand-options\fR] [\fIcontainer\fR] [\fIobject\fR] [\fIobject\fR] [...]
.RS 4
Deletes everything in the account (with \-\-all), or everything in a container,
+or all objects in a container that start with a given string (given by \-\-prefix),
or a list of objects depending on the args given. Segments of manifest objects
will be deleted as well, unless you specify the \-\-leave\-segments option.
For more details and options see swift delete \-\-help.