Page 1 of 1

How to exclude VCS folders like .GIT or .SVN?

Posted: Tue Apr 04, 2017 6:52 pm
by GregS
For example, I tried the following when specifying files:
1 <mydir>\*.* all include
2 <mydir>\.git\*.* all exclude

and yet all the files in the .git folder were still processed.

Re: How to exclude VCS folders like .GIT or .SVN?

Posted: Thu Apr 06, 2017 10:13 pm
by DataMystic Support
Hi Greg,

Did the exclude lines come after the include lines?

Re: How to exclude VCS folders like .GIT or .SVN?

Posted: Sun Apr 09, 2017 12:34 am
by dfhtextpipe
This would be better done within the main filter rather than by the Files to Process UI.

Have a top level Restrict to filenames NOT matching

Code: Select all

^.+\.GIT.+$
Note that this filter uses case-insensitive perl patterns, not DOS wildcards.

David