Understanding the CLI on linux

Hi! I have a couple of questions regarding the usage of the CLI tool on Linux.

  1. What exactly does the counters count in odrive status? Is it currently active requests / downloads /… or is is for the whole session?

  2. What does Background Requests and Waiting in odrive status mean?

  3. Is it correct that odrive syncstate myfolder marks a folder as Synced even though a folder deeper down in the folder tree is being synced or is unsynced?

  4. Is it correct that odrive refresh myfolder only refreshes myfolder and not the subfolders?

Hi @simon.clement,

Please find the answers below:

1.What exactly does the counters count in odrive status? Is it currently active requests / downloads /… or is is for the whole session?

Its highly depends on state of your files in lists below, some counters will only appear during active jobs (such as uploads) whereas other may retain in between the sessions (such as trash) if no action is performed to resolve the issue.

Sync Requests: 0 → This counter shows current active sync requests only, as soon as all sync jobs are completed it will turn back to zero.
Background Requests: 0 → This counter shows current active sync jobs initiated by app based on user global sync settings, as soon as all sync jobs are completed it will turn back to zero.
Uploads: 0 → This counter shows current active upload jobs.
Downloads: 0 → This counter shows current active download jobs.
Trash: 0 → This counter shows list of items deleted from odrive folder but not yet synced to storage.
Waiting: 0 → This counter shows list of items failed to sync and are going be to retried soon by app.
Not Allowed: 0 → This counter shows list of items failed to sync due permission errors or not allowed by storage.

2.What does Background Requests and Waiting in odrive status mean?

Please see #1 above.

3.Is it correct that odrive syncstate myfolder marks a folder as Synced even though a folder deeper down in the folder tree is being synced or is unsynced?

No, syncstate command only return state of files in given path. Only synced files will be highlighted. Similar to refresh command it only return results of provide path (subfolders are not included).

4.Is it correct that odrive refresh myfolder only refreshes myfolder and not the subfolders?

Yes, that’s correct

Please let me know if you have any other question

Thanks,
Asif