# Sync folder source to target

**URL:** https://www.finalbuilder.com/forums/t/sync-folder-source-to-target/6737
**Category:** Discussion
**Tags:** finalbuilder
**Created:** [March 4, 2020, 7:52am UTC](https://www.finalbuilder.com/forums/t/sync-folder-source-to-target/6737 "2020-03-04T07:52:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KLund](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/klund/32/939_2.png) [@KLund](https://www.finalbuilder.com/forums/u/KLund)
#### Post date: [March 4, 2020, 7:52am UTC](https://www.finalbuilder.com/forums/t/sync-folder-source-to-target/6737/1 "2020-03-04T07:52:08Z")

</div>

Hi, how can I sync a source and target folder ?

So only write to target folder.

- If target missing a file it will be copied.
- If target have a file with content different from source it will be updated.
- If target have a file that are missing in source it will be deleted.

I can of course start with delete all files on target folder and copy again from source.  
But want a more clean way of doing this.

Regards  
Roland

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 4, 2020, 12:36pm UTC](https://www.finalbuilder.com/forums/t/sync-folder-source-to-target/6737/2 "2020-03-04T12:36:49Z")

</div>

You can use the RoboCopy actions for this.

---

<div class="post-metadata">

### Author: ![KLund](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/klund/32/939_2.png) [@KLund](https://www.finalbuilder.com/forums/u/KLund)
#### Post date: [March 5, 2020, 10:58am UTC](https://www.finalbuilder.com/forums/t/sync-folder-source-to-target/6737/3 "2020-03-05T10:58:32Z")

</div>

Ah ok, thanks. I suspect there was some action for this but just didn’t find it 😃
