# I am seriously confused how Odrive Agent is suppose to work in linux

**URL:** <https://forum.odrive.com/t/i-am-seriously-confused-how-odrive-agent-is-suppose-to-work-in-linux/2368>\
**Category:** Troubleshooting\
**Tags:** sync-to-odrive\
**Created:** [April 24, 2017, 12:52pm UTC](https://forum.odrive.com/t/i-am-seriously-confused-how-odrive-agent-is-suppose-to-work-in-linux/2368 "2017-04-24T12:52:06Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [May 1, 2017, 10:52pm UTC](https://forum.odrive.com/t/i-am-seriously-confused-how-odrive-agent-is-suppose-to-work-in-linux/2368/10 "2017-05-01T22:52:56Z")

</div>

> [@lutchy.horace](#):
>
> My question has gone unaswered here? Although, you meantioned this behavior is not implemented, is their any explaination what I am seeing here?

I’m not sure on this one. Is the file actually synced, and the new content is on the remote now? It’s possible that a remote event triggered a local refresh which picked up the change prior to the local scan. It could also be that it fell into the local scan window at that moment.

Also, to clarify what I said above, the normal, expected interval for picking up local changes is 15 minutes. Depending on what else is happening on the system and when the change is made in relation to Agent startup, it can be longer (worse case between 30-60 minutes), but generally it should be a 15 minute interval.

> [@lutchy.horace](#):
>
> This undoubtly very unfortunate and combersome, I’ll look for another solution. Thanks for the info.

Actually doing this is pretty easy with a simple find command. Here is an example from another user:

> [@Odrive Sync Agent: A CLI/scriptable interface for odrive's Progressive Sync Engine for Linux, OS X, and Windows](https://forum.odrive.com/t/odrive-sync-agent-a-cli-scriptable-interface-for-odrives-progressive-sync-engine-for-linux-os-x-and-windows/499/62):
>
> Hi all, In case it helps anybody, here is a simple recursive refresh script that will recursive run through all your directories and subdirectories and upload any files that might have been changed: find ~/odrive-agent-mount/ -type d -exec python "$HOME/.odrive-agent/bin/odrive.py" refresh "{}" \; (change ~/odrive-agent-mount/ to wherever your odrive is mounted) schedule the task in cron on linux to run it every 15 minutes or so. I did run into a strange issue where I renamed a folder and t…

---

_[View the full topic](https://forum.odrive.com/t/i-am-seriously-confused-how-odrive-agent-is-suppose-to-work-in-linux/2368)._
