Kaspersky Endpoint Security 11 for Linux

Removing objects from the Storage

December 12, 2023

ID 197991

To remove an object from the Storage, execute the following command:

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

Example:

To remove an object with ID=15:

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

To remove several objects from the Storage, execute the following command:

kesl-control -B --mass-remove --query "<field> <logical expression> '<value>' [and <field> <logical expression> '<value>']"

Example:

To remove objects that contain "test" in their names or paths:

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

To remove all objects from the Storage, execute one of the following commands:

kesl-control -B --mass-remove

, or

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.