# Google Drive interval for checking for new files

**URL:** <https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172>\
**Category:** I Have a Question\
**Tags:** windows, google\
**Created:** [June 24, 2022, 7:11pm UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172 "2022-06-24T19:11:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel1](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@daniel1](https://forum.odrive.com/u/daniel1)\
**Post date:** [June 24, 2022, 7:11pm UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172/1 "2022-06-24T19:11:23Z")

</div>

Hi folks,

How often does the desktop (Windows in this case) client check Google Drive for new files? Is it polling, or is there some fancy push-based system?

I ask as I’m creating new files on one machine, and checking my Odrive sync folder on a collaborator’s Windows machine. There are multiple minutes at least before new files are synced… Thus far I’ve gotten bored of waiting, and hit “refresh” in Windows Explorer before seeing the new file pop up of its own accord.

I saw that `remoteScanIntervalMins` can be set on premium subscriptions, but it also says that “Storage sources which have dedicated calls for change detection (i.e. most modern cloud storage providers) get updated much more frequently through a separate mechanism.” Is Google Drive one of these? How long should I be waiting for new files to turn up?

I’d turned to Odrive because the Google Drive desktop app required manual intervention to get it to sync new files in a shared folder. I’m really hoping manual intervention isn’t required here too! Perhaps this is some limit of the Google Drive API, relating to it being a shared folder?

---

<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:** [June 24, 2022, 7:33pm UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172/2 "2022-06-24T19:33:07Z")

</div>

Hi @daniel1 ,  
Background detection of remote changes on Google Drive should take around 1-3 minutes, under normal circumstances. This can be delayed if odrive is in the middle of a full background scan (which happens very infrequently, but is performed on odrive startup) or if odrive is already busy actively syncing.

Immediate refresh of a folder will occur when you browse into it via Finder or Explorer or if you right-click-\>refresh the folder (as you mentioned above).

---

<div class="post-metadata">

**Author:** ![daniel1](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@daniel1](https://forum.odrive.com/u/daniel1)\
**Post date:** [June 25, 2022, 7:45am UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172/3 "2022-06-25T07:45:51Z")

</div>

Thanks!

As an aside, do you know if there’s any way to do the equivalent of a Windows Explorer refresh programmatically, via the command line?

---

<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:** [June 25, 2022, 1:20pm UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172/4 "2022-06-25T13:20:00Z")

</div>

Hi @daniel1,  
We have a CLI that can be used to issue commands to the sync engine, including ‘refresh’.

> **[Agent/CLI (Linux, MacOS, Win)](https://docs.odrive.com/docs/odrive-sync-agent#sync-agent-and-cli-overview)**
>
> SYNC AGENT AND CLI OVERVIEW The odrive Sync Agent provides advanced users with a flexible, scriptable interface to odrive’s Progressive Sync engine. Use it to bring cloud access and sync to almost any environment. The odrive Sync Agent can be used on...

You can download the CLI [here](https://docs.odrive.com/docs/odrive-sync-agent#download-cli)

---

<div class="post-metadata">

**Author:** ![daniel1](https://forum.odrive.com/letter_avatar_proxy/v4/letter/d/b19c9b/32.png) [@daniel1](https://forum.odrive.com/u/daniel1)\
**Post date:** [June 26, 2022, 7:41am UTC](https://forum.odrive.com/t/google-drive-interval-for-checking-for-new-files/9172/5 "2022-06-26T07:41:25Z")

</div>

Ooh, that’s awesome! Thanks for pointing that out, and thanks to whoever was forward-thinking enough to build a CLI in the first place 😃
