Versions Compared

Key

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

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, svn, .git , or .tempfiles and folders

*.war

Ignore excludes all .war files

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

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

Combining include and exclude filters

File Filer

File Exclude Filter

Result

.war##.jar

badProject

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

.war##.ear

badProject.war

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


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

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

*.war


Copy select all .war files

Important.*

*.class

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