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 any .temp files (and any files named svn or .git) |
*.war | Ignore all .war files |
*.tmp##boring.xml##readme.md | Ignore all .tmp files, boring.xml, and readme.md |
Combining include and exclude filters
File Filer | File Exclude Filter | Result |
---|---|---|
.war##.jar | badProject | Copy all .war and .jar files, unless there is a folder named badProject in its path |
.war##.ear | badProject.war | Copy all .ear and .war files, except badProject.war |
*.tmp##boring.xml##readme.md | Copy everything except all .tmp files, boring.xml, and readme.md | |
*.war | Copy all .war files | |
Important.* | *.class | Copy all files that start with Important. Unless they end in .class |