Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The FDFILE_INP_FILE_FILTER replaces ## with an OR operation with the input given. Will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not)Here are some examples and expected behaviors:

Filter Text

Result

svn##.git##*.temp

Ignore

excludes any .temp

files (and any files named svn or .git)
AND any content in a folder named svn, .git, or .temp

*.war

Ignore all .war files

, svn, .git files and folders

*.war

excludes all .war files

*.tmp##boring.xml##readme.md

excludes all .tmp, boring.xml, and readme.md files

Combining include and exclude filters

File Filer

File Exclude Filter

Result

.war##.jar

badProject

select all .war and .jar files, unless there is a folder named badProject in its path

.war##.ear

badProject.war

select all .ear and .war files, except badProject.war


*.tmp##boring.xml##readme.md

Ignore

select everything except all .tmp files, boring.xml, and readme.md

*.war


select all .war files

Important.*

*.class

select all files that start with Important, unless they end in .class