# File Sets defining FileSet Patterns

**URL:** https://www.finalbuilder.com/forums/t/file-sets-defining-fileset-patterns/102
**Category:** Discussion
**Created:** [June 1, 2006, 6:00am UTC](https://www.finalbuilder.com/forums/t/file-sets-defining-fileset-patterns/102 "2006-06-01T06:00:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 1, 2006, 6:00am UTC](https://www.finalbuilder.com/forums/t/file-sets-defining-fileset-patterns/102/1 "2006-06-01T06:00:47Z")

</div>

Hi,I have only just started using File Sets, so I may be using it incorrectly. However here is the problem I am having.I define a FileSet, whith in it I define the Filespec as:Filespec \*.h, \*.hpp, \*.cpp, \*.pasRecursive = yesI then define a Fileset Copy/Move which used the FileSet specified above. When I run this two action , I get zero files copied (138 files exist)However, if I define a Filespec per file type, then it works fine.What am I doing wrong?

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [June 1, 2006, 8:58am UTC](https://www.finalbuilder.com/forums/t/file-sets-defining-fileset-patterns/102/2 "2006-06-01T08:58:31Z")

</div>

Hi Daniel,  
  
Thanks for posting.  
  
Each filespec (ie \*.h, \*.hpp, etc.) should be a separate Include Pattern. Click the Add Pattern button on the Include Pattern property page to add each file type.  
  
I see that the example patterns show multiple filetypes inside a single pattern, but AFAIK this is not actually possible (sorry, it’s a bug.)

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [June 2, 2006, 5:28am UTC](https://www.finalbuilder.com/forums/t/file-sets-defining-fileset-patterns/102/3 "2006-06-02T05:28:25Z")

</div>

yes, this is a bug with the add example pattern. has now been fixed for next build.  
  
.t8
