Pause sync from CLI - Linux Nextcloud client

it is possible to pause syncing from CLI?

I want to pause syncing when my laptop run from battery and after connecting to AC start it again. At this moment I simply run “killall nextcloud” and “nextcloud” in scripts, but I don’t like it. There is some better way?

Thank you.


1 Like

I would appreciate this feature too