PathCrawlRegex

A regular expression that specifies the folders to search for files. The connector only searches folders where:

  • the full path of the folder matches the regular expression.
  • the full path of all parent folders match the regular expression.

If a folder does not match the regular expression, all of the subfolders that it contains are ignored (even if those folders do match the regular expression).

Type: String (regular expression)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

The following regular expression matches / and /folder/, so only the root folder and /folder/ are searched for files. The subfolders of /folder/, and other subfolders of the root folder, are not searched because their full path does not match the regular expression.

PathCrawlRegex=\/(folder\/)?

See Also: PathNoCrawlRegex