# FileSet Move / Copy Action Question

**URL:** https://www.finalbuilder.com/forums/t/fileset-move-copy-action-question/456
**Category:** Discussion
**Created:** [May 3, 2007, 9:06am UTC](https://www.finalbuilder.com/forums/t/fileset-move-copy-action-question/456 "2007-05-03T09:06:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![robm](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/278dde/32.png) [@robm](https://www.finalbuilder.com/forums/u/robm)
#### Post date: [May 3, 2007, 9:06am UTC](https://www.finalbuilder.com/forums/t/fileset-move-copy-action-question/456/1 "2007-05-03T09:06:08Z")

</div>

Hi -

I'm having trouble understanding the "Recreate source hierarchy (relative to fileset base directory)" option of the FileSet&nbsp;Copy / Move&nbsp;Action.&nbsp;&nbsp;

The help file states; Recreate source hierarchy - if this option is not set, then all the files in the FileSet (regardless of their path) will be placed in the destination directory.

So, if I set this option all files copied / moved into the destination will be placed into the same folder structure (ie source hierarchy) as the source.&nbsp;

For example,&nbsp; if my fileset source is c:\temp\reports\Accounting\*.rpt and I use a FileSet Copy / Move action to move the files to folder to c:\reports\&nbsp; shouldn't the Accounting folder be created in the destination (c:\Reports\Accounting)?

Thanks,

Rob

---

<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: [May 4, 2007, 1:33am UTC](https://www.finalbuilder.com/forums/t/fileset-move-copy-action-question/456/2 "2007-05-04T01:33:20Z")

</div>

Hi Rob,  
  
\>For example, if my fileset source is c:\temp\reports\Accounting\*.rpt and I use a FileSet Copy / Move action to move the files to folder to c:\reports\ shouldn’t the Accounting folder be created \>in the destination (c:\Reports\Accounting)?  
  
For this example, if the “base directory” set in the FileSet Define action is C:\Temp\Reports, and you enable the “Recreate source hierarchy” option, then the behaviour will be as you describe.  
  
Otherwise, all of the files will be copied/moved to C:\Reports.  
  
Please let me know if you’d like any further explanation.  
  
- Angus
