Kaspersky Endpoint Security 11 for Linux

从存储中移除对象

2023年4月20日

ID 197991

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

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

示例:

要移除 ID=15 的对象,请执行以下操作:

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

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

kesl-control -B --mass-remove --query "<字段> <逻辑表达式> '<>' [and <字段> <逻辑表达式> '<>']"

示例:

要删除名称或路径中包含“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.