I’m trying to use the CREATEFILTER directive to:

·         Include all files WITHOUT an extension

·         Exclude all files WITH an extension

·         Exclude the specific file “_cache” (note, it has NO extension)

·         Do all this for a whole directory tree

 

I notice that CREATEFILTER uses “glob syntax” (http://docs.basex.org/wiki/Commands#Glob_Syntax

 

Questions:

1.       Since this is a java program, does that mean that: http://docs.oracle.com/javase/tutorial/essential/io/fileOps.html#glob and http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher%28java.lang.String%29 provide the exact full description of “glob syntax” for BaseX? 

2.       If so, can I do what I want to do with some sort of a “!” (negation) pattern? 

3.       Should this work with version 6.3.5 of BaseX?

 

Thanks!

David

 

DavidEmailSig