Files
doc-exports/docs/obs/tool-obsutil/obs_11_0065.html
weihongmin1 c4291b1dd5 OBS Util 0309 Verion
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2026-03-27 12:15:19 +00:00

1.2 KiB

Deleting All Multipart Upload Tasks in a Bucket

All commands in this section use the Linux operating system as an example to describe how to delete all multipart upload tasks in a bucket.

Assume that bucket bucket-test contains the following multipart upload tasks:

obs://bucket-test/task1.txt uploadid1
obs://bucket-test/task1.txt uploadid2
obs://bucket-test/task2.txt uploadid3
obs://bucket-test/task3.txt uploadid4
obs://bucket-test/src1/
obs://bucket-test/src1/task4.txt uploadid5
obs://bucket-test/src2/
obs://bucket-test/src2/task5.txt uploadid6

You can run the following command to delete all fragments of multipart upload tasks in the bucket at once:

./obsutil abort obs://bucket-test -r -f