filecopy.exclude_pattern (collection.cfg setting)
This option allows a regular expression to be specified that will be used to exclude certain files from being copied. Any filename that matches the given regular expression will not be copied and indexed. This has many uses, for example, it could be used to prevent a certain subdirectory from being indexed.
- Only for filecopy collections
- The regular expression must match the entire name of the file. Note the .* at the end of the exclude pattern in the example below.
- 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.
Office temporary files are excluded:
Ignore everything in the 'junk' directory