login / register
voyager
Home » Administrator Guide » Manage Voyager » Discovery » Discovery Settings » Filter Syntax

Filter Syntax

Each non-comment, non-blank line contains an expression prefixed by '+' or '-'. The first matching pattern in the file determines whether a path is included or ignored. If no pattern matches, the path is ignored.

The expression types are:

suffix


-suffix .xml

Will skip anything that ends with ".xml"

prefix


-prefix test

Will skip anything that starts with "test"

regex


-regex .*(\.prj|\.aux|\.sdi|\.shx|\.dbf)

Will skip these suffixes


-regex .*(/.+?)/.*?\1/.*?\1/

sikp paths with slash-delimited segment that repeats 3+ times, to break loops

glob


-glob *_TEST_*

remove things that contain TEST

all


+all

match everything

Example Filter Rules



# Ignore standard helper files
-regex .*(\.prj|\.aux|\.sdi|\.shx|\.dbf)

# Ignore XML
-suffix .xml

# accept everything with an extension (2,3,4 chars long)
+regex .*\..{2,4}


matches all extensions that are 2, 3, or 4 characters long but not xml,prj,aux,sdi,shx,dbf


» Show in Whole Document