Exclude folders/paths/files from scan

Each ResourceScanServiceHost exists under the label Service 3 attributes:

excludedfolders
excludedfiles
s.excludedpaths

In order to exclude desired paths, folders or files from the scan, the respective values ​​must be entered here. All projects that are scanned or rescanned after this change are subject to the filter.

Example with id:

(id (n) = xxxxxx of the migRavenLocate ResourceScanServiceHost before)

match (n) where id (n) = xxxxxx
set n.excludepaths = "\\\\ Server \\ Share \\ Directory" 
return n

(Only \\ share \\ directory can be entered and saved, but takes the directory with the scan anyway.) Always fill in the complete path)

match (n) where id (n) = xxxxxx
set n.excludedfiles = "mig.raven; thumbs.db; ds_store; mp3"
return n

match (n) where id (n) = xxxxxx
set n.excludedfolders = "personal; secret"
return n

(All folders whose names are identical to the entries listed here are excluded from the scan, regardless of their position in the tree)

Direct editing of the node for multiple paths


Exclude directories from the scan:

match (n: services)
where n.name = "migRavenResourceScanServiceHost "
set n.excludepaths = "\\\\ Server \\ Share \\ Folder; \\\\ Server \\ Share \\ Folder; \\\\ Server \\ Share \\ Folder"
return n

Exclude files from the scan:

match (n: services)
where n.name = "migRavenResourceScanServiceHost "
set n.excludedfiles = "mig.raven; thumbs.db; ds_store; mp3"
return n

Exclude folder names from the scan:

match (n: services)
where n.name = "migRavenResourceScanServiceHost "
set n.excludedfolders = "personal; secret"
return n

The paths are initialized as spaces and the individual values ​​are separated with a semicolon.

These properties can be adjusted at any time in the database interface. Uppercase and lowercase letters can be neglected as they are internally normalized against a lowercase spelling variant.

The 3 properties are used in the resource scan to filter out "unwanted" data. This also already affects the entry point.

The values ​​to be adjusted in the ResourceScanServiceHost

Permanent link to this post: https://help.migraven.com/ordner-von-scan-ausschliessen/