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

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

GregS
Posts: 1
Joined: Tue Apr 04, 2017 6:43 pm

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

Postby GregS » Tue Apr 04, 2017 6:52 pm

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.

User avatar
DataMystic Support
Site Admin
Posts: 2204
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

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

Postby DataMystic Support » Thu Apr 06, 2017 10:13 pm

Hi Greg,

Did the exclude lines come after the include lines?
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 705
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

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

Postby DFH » Sun Apr 09, 2017 12:34 am

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


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 7 guests