SVN ignore folders that end in

52 views Asked by At

I'm using Cocostudio and I'm finding that it creates all of the individual frame files for my animations, which I would like to omit from the SVN repository. All of these images exist in folders that end in _PList.Dir, i.e. myAnimation_Plist.Dir/image1.png, myAnimation_Plist.Dir/image2.png, etc.

So my question is, how do you define an ignore pattern that would match all directories that end in '.Dir'?

Thanks.

1

There are 1 answers

2
Lazy Badger On

SVN Book, "Ignoring Unversioned Items" section, "File Patterns in Subversion" topic

*_Plist.Dir may be better choice

Note

Fast test of ignore-pattern

>svn pl -v
Properties on '.':
  svn:ignore
    *_PList.Dir

>svn st --no-ignore
 M      .
I       1_PList.Dir
I       2_PList.Dir
I       3_PList.Dir
?       data.txt