# Pydio Cells 2.0 – can't figure out cli sync

**URL:** <https://forum.pydio.com/t/pydio-cells-2-0-cant-figure-out-cli-sync/3158>\
**Category:** Pydio Cells\
**Tags:** synchronisation\
**Created:** [March 22, 2020, 12:56am UTC](https://forum.pydio.com/t/pydio-cells-2-0-cant-figure-out-cli-sync/3158 "2020-03-22T00:56:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![la22y](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/la22y/32/1133_2.png) [@la22y](https://forum.pydio.com/u/la22y)\
**Post date:** [March 22, 2020, 12:56am UTC](https://forum.pydio.com/t/pydio-cells-2-0-cant-figure-out-cli-sync/3158/1 "2020-03-22T00:56:54Z")

</div>

How can I automatically resynchronize / index a source with Cells 2.0+?

./cells data sync --datasource pydiods1  
Error: unknown command “data” for “./cells”

And `cells-ctl` is gone…

Is there a way to watch a source folder in Pydio and resync? I was going to do a cron job but it seems all ability to run a sync via cli has been removed.

Please advise!

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 23, 2020, 8:17am UTC](https://forum.pydio.com/t/pydio-cells-2-0-cant-figure-out-cli-sync/3158/2 "2020-03-23T08:17:57Z")

</div>

Hello @la22y,

The command that you are looking for is ` ./cells data sync --datasource=pydiods1`.  
Enhancing the command helper is something that we are going to do.

Regards
