# 1.0.0.187 - Copy Action

**URL:** https://www.finalbuilder.com/forums/t/1-0-0-187-copy-action/4830
**Category:** Discussion
**Created:** [April 26, 2012, 2:54am UTC](https://www.finalbuilder.com/forums/t/1-0-0-187-copy-action/4830 "2012-04-26T02:54:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rlove](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/rlove/32/27_2.png) [@rlove](https://www.finalbuilder.com/forums/u/rlove)
#### Post date: [April 26, 2012, 2:54am UTC](https://www.finalbuilder.com/forums/t/1-0-0-187-copy-action/4830/1 "2012-04-26T02:54:43Z")

</div>

I setup a copy action to copy the contents of my SVN Repo to C:\BUILDTEST\

This action needs an option to include sub&nbsp;directories in the copy.

It also created a .hg\_archival.txt in my output directory that was not in my repository.&nbsp;

---

<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: [April 27, 2012, 2:04am UTC](https://www.finalbuilder.com/forums/t/1-0-0-187-copy-action/4830/2 "2012-04-27T02:04:11Z")

</div>

Hi Robert,   
 The .hg\_archival.txt is created as a result of how we sync source to the agents. It’s not needed - I’ll make sure it gets removed.   
  
 I’ll also look at adding a recursive option to the copy action.   
  
 Cheers,   
  
 Ben

---

<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: [April 27, 2012, 3:47am UTC](https://www.finalbuilder.com/forums/t/1-0-0-187-copy-action/4830/3 "2012-04-27T03:47:51Z")

</div>

Just FYI, there’s no need for an explicit recursive option, because you can specify a recursive ant-style file pattern. For example, \*\*.   
  
 However, the current implementation doesn’t maintain the directory hierarchy in the destination, so it’s still not particularly useful. I’m fixing that now.   
  
 Cheers,   
  
 Ben
