Exclude a file from scan

 
1 Likes

ISSUE:

ControlPoint allows to exclude files when scanning sources. The graphical interface gives the possibility to exclude file extensions. What if I want to exclude a specific file.

Annotation 2020-04-30 141928.png

HOW TO STEPS:

The connector configuration file gives you more granularity in what you can exclude.

Open the connector configuration file (.cfg).

Go to the task section of the repository: e.g. [TaskMyRepository]

Add the PathCantHaveRegex parameter. In the following example, we exclude "thumb.db" files AND all pdf files.

PathCantHaveRegex0=.*thumb\.db
PathCantHaveRegex1=.*\.(pdf)

Note that you can have multiple parameters with the number at the end.

Also note that when you use these manual adds in the configuration file, you should not use anymore the field in the graphical interface as this will conflict.

See also the file system connector documentation: https://www.microfocus.com/documentation/idol/IDOL_12_3/FileSystemConnector_12.3_Documentation/Help/index.html#Configuration/TaskName/PathCantHaveRegex.htm

Labels:

How To-Best Practice
Comment List
Parents
  • Hi,

    DocumentStatus 16 within the [ControlPointMetaStore].[Metadata].[Document] table is for files that have been disposed via ControlPoint policy. Once an Incremental scan is executed, the connector will identify that the files no longer exist in the source repository and send Delete actions to MetaStore which will remove those documents from the [ControlPointMetaStore].[Metadata].[Document] table. What you are seeing is expected behaviour as we don't keep references of deleted files in the Document table once re-scanned.

     

    If you have any further issues on this please raise a support ticket and I will be happy to assist.

     

    Regards,

    Keith

Comment
  • Hi,

    DocumentStatus 16 within the [ControlPointMetaStore].[Metadata].[Document] table is for files that have been disposed via ControlPoint policy. Once an Incremental scan is executed, the connector will identify that the files no longer exist in the source repository and send Delete actions to MetaStore which will remove those documents from the [ControlPointMetaStore].[Metadata].[Document] table. What you are seeing is expected behaviour as we don't keep references of deleted files in the Document table once re-scanned.

     

    If you have any further issues on this please raise a support ticket and I will be happy to assist.

     

    Regards,

    Keith

Children
No Data
Related
Recommended