The FDFILE_INP_FILE_FILTER replaces ## with an OR operation with the input given.Here are some examples and expected behaviors:
Filter Text | Result |
---|---|
svn##.git##*.temp |
excludes any .temp |
AND any content in a folder named svn, .git, or .temp
*.war
, 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 |
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 |