Skip to main content

vserver vscan on-access-policy file-ext-to-exclude remove

Contributors
Suggest changes

Remove from the list of file extensions to exclude

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver vscan on-access-policy file-ext-to-exclude remove command removes a file extension or a list of file extensions that are excluded from scanning from the specified policy name.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver containing the specified on-access policy from which you want to remove a file extension or a list of file extensions that are excluded from scanning.

-policy-name <Policy name> - Policy

This parameter specifies the name of the on-access policy from which you want to remove a file extension or a list of file extensions that are excluded from scanning.

-file-ext-to-exclude <File extension>,…​ - File Extensions Not to Scan

This parameter specifies the file extension or a list of file extensions that must be removed from the on-access policy.

Examples

The following example removes a list of file extensions that are to be excluded from scanning from the specified on-access policy:

cluster1::> vserver vscan on-access-policy file-ext-to-exclude remove -vserver vs1
            -policy-name policy1 -file-ext-to-exclude mp3,txt

cluster1::> vserver vscan on-access-policy file-ext-to-exclude show -vserver vs1
            -policy-name policy1
Vserver: vs1
                     Policy: policy1
File-Extensions Not to Scan: mp4, wav