从存储中删除对象

2022年1月20日

ID 161322

要从存储中删除对象,请执行以下命令:

kesl-control -B --mass-remove --query "ObjectId == '<object ID>'"

例如:

要删除 ID=15 的对象:

kesl-control -B --mass-remove --query "ObjectId == '15'"

要从存储中删除多个对象,请执行以下命令:

kesl-control -B --mass-remove --query "<field><comparison operator> '<value>' [and <field> <comparison operator>'<value>' *]"

例如:

要删除名称或路径中包含“test”的对象:

kesl-control -B --mass-remove --query "FileName like '%test%'"

要从存储中删除所有对象,请执行以下命令之一:

kesl-control -B --mass-remove

kesl-control -B --mass-remove --query

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.