Pause sync from CLI - Linux Nextcloud client

Hello,
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.

TH

2 Likes

I would appreciate this feature too

Furthermore, I am looking for this feature.

In my case: If I’m working with Adobe Lightroom, I would rather not sync the Catalog, while I’m working. There are a million files, which change in a few seconds. If I close Lightroom, the sync can start again.