# Robocopy with /MIR or /PURGE options

**URL:** https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412
**Category:** Discussion
**Created:** [March 27, 2007, 3:45am UTC](https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412 "2007-03-27T03:45:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anotherlab](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@anotherlab](https://www.finalbuilder.com/forums/u/anotherlab)
#### Post date: [March 27, 2007, 3:45am UTC](https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412/1 "2007-03-27T03:45:48Z")

</div>

Does the FinalBuilder RoboCopy action support the /MIR or /PURGE options?&nbsp; I was looking at the Options tab of the RoboCopy action properties dialog and did not see anything that looked like one of those two options.  
  
thanks,  
Chris Miller  
VersaTrans Solutions

---

<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: [March 28, 2007, 1:38am UTC](https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412/2 "2007-03-28T01:38:59Z")

</div>

Hi Chris,  
  
Thanks for your post.  
  
Use the “Robocopy Mirror” action for the /MIR option.  
  
The /PURGE option has not been explicitly supported in the standard Robocopy action (although it’s implied by /MIR), mostly out of a desire to avoid people messing up their directory structures if a build goes wrong.   
  
You can still enable it, however. If you go to the “Action Inspector” tab, there is a hidden option called “Extra Params at End” where you can add /PURGE if you need to. Please use with caution (I’d recommend just using the Mirror action, if possible.)  
  
Regards,  
  
Angus

---

<div class="post-metadata">

### Author: ![anotherlab](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/48db29/32.png) [@anotherlab](https://www.finalbuilder.com/forums/u/anotherlab)
#### Post date: [March 29, 2007, 7:31am UTC](https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412/3 "2007-03-29T07:31:22Z")

</div>

Doh!&nbsp; I completely forgot about the additional ROBOCOPY actions.

---

<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: [March 30, 2007, 1:23am UTC](https://www.finalbuilder.com/forums/t/robocopy-with-mir-or-purge-options/412/4 "2007-03-30T01:23:00Z")

</div>

Don’t worry about it. Even we sometimes forget what actions are out there!
