Customer needs to ignore a list of directories maintained in a file when running a query (for the Files data source).
The query contains a descriptor (e.g., composite file selection descriptor) that uses a specific command to search the file.
There can be a requirement to know the various default configurations that are set to install the UNIX agent on the target computer. Also, there can be a requirement to configure the UNIX agent for effective query execution. Both these requirements can be addressed through the configuration file, bv.conf.
The bv.conf configuration file has several configurable options to configure the product functions. You can configure this file to secure file contents, logs directory, and also secure specific directories from being queried. By default, the bv.conf file is located in the <installation directory>/BindView/bvcontrol/ directory of the target computer.
NOTE: The bv.conf configuration file contains both configurable and non-configurable parameters.
Ignoring list of directories for the find query
You can ignore a list of directories maintained in a file when running a query (for the Files data source). The query can contain a descriptor (e.g., composite file selection descriptor) that uses a specific command to search the file.
NOTE: You must ensure that the directories specified in the file ends with a forward slash (/). For example, if you specify a directory such as /sampledir in the file namely FindList.dat, then the directory must be specified as /sampledir/.
You can configure the 'IgnoreDirectoryPathForFind' parameter in the bv.conf file:
IgnoreDirectoryPathForFind= <filename> OR <partial path of location of the file>
The value of the parameter is the filename, which contains the list of directories. The file must be located in the installation directory of the UNIX target computer (e.g., ../BindView/bvcontrol).
Example A: Assume that a file FindList.dat located under the ../BindView/bvcontrol directory contains the list of directories to be ignored when queried. The entry to be specified for the parameter is as follows:
Example B: Assume that a file FindList.dat located under the ../BindView/bvcontrol/custom directory contains the list of directories to be ignored while querying, then the following must be specified: