Description
This command modifies global filters for Windows and UNIX subclients.
Upon successful completion, qmodify globalfilter displays the message "Updated global filters successfully" on the command prompt. In case of an error, an error code and description are displayed as: "globalfilter: Error errorcode: errordescription"
Usage
qmodify globalfilter -o <append|overwrite> -t <subclient type> -ff <filter file> [-tf <tokenfile>] [-tk <token>] [-h]
Options
-o |
Operation to be performed on the global filter |
-t |
Windows or UNIX subclients |
-ff |
Reads files, folders, and patterns to be excluded from the file. |
-tf |
Reads token from a file |
-tk |
Token string |
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
Append the files/directories listed in the file test.txt to the Windows global filters
qmodify globalfilter -o append -t Windows -ff test.txt