PathCrawlRegex

A regular expression that specifies the folders to search for files. The full path of a folder must match the regular expression, otherwise the folder and all of its subfolders are ignored.

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\/)?

You could include all subfolders of folder by modifying the regular expression:

PathCrawlRegex=(folder\/.*)?

See Also: PathNoCrawlRegex