I'd like to shutdown the computer after Seafile is done syncing the libraries.
There doen't seem to be an easy/reliable way to check if the seaf-cli client has completed syncing.
seaf-cli status outputs the following:
Seafile sync status:
# Name Status Progress
A downloading x/x, xKB/s
# Name Status
B Status synchronized
In this case I'd have to parse the output and check if synchronized appears two times. Then I can shutdown the computer. But this is rather messy and depends on the amount of libraries synced.
Adding a new argument like this seaf-cli synchronized would solve my problem. It could output true if all libraries are synced or false if still synchronising.
Also add cli to the windows client, because now I only have two options:
a) to modify client,
b) run virtualbox linux emulator with that seaf-cli client and share folder with windows
I'd like to shutdown the computer after Seafile is done syncing the libraries. There doen't seem to be an easy/reliable way to check if the seaf-cli client has completed syncing.
seaf-cli status
outputs the following:In this case I'd have to parse the output and check if
synchronized
appears two times. Then I can shutdown the computer. But this is rather messy and depends on the amount of libraries synced.Adding a new argument like this
seaf-cli synchronized
would solve my problem. It could outputtrue
if all libraries are synced orfalse
if still synchronising.