Skip to content

filecopy.include_pattern

If specified, filecopy collections will only include files which match this regular expression.

Key: filecopy.include_pattern
Type: String
Can be set in: collection.cfg

Description

This option allows a regular expression to be specified that will be used to include certain files in your index. When this option is specified, only those files whose name matches the regular expression will be copied and indexed. All other files will be excluded. When this option is not specified, all files are included.

Caveats

  • Only for filecopy collections
  • The regular expression must match the entire name of the file. Note in the example the .* at the end of the include pattern
  • The regular expression must match the internal name that is used in copying. This will not be a standard windows, UNC or unix path. It will either be a 'file' or 'smb' URL. e.g. file:///c:/documents/file.txt or smb://file-server/dir/file.txt

Default Value

Include everything by default

filecopy.include_pattern=

Examples

Include everything from the '2007' subdirectory:

filecopy.include_pattern=file:///myfilecopysource/2007/.*

See Also

top

Funnelback logo
v15.24.0