Just a quickie:
I want to rename my device from default $HOST to something like “FOO BAR” via syncthing cli. A name with embedded whitespaces.
Whatever I try to escape the space: it fails. I permutated almost all possibilities and numbers of quotes, backslashes and even tried ’ ’ ( which worked … but wasn’t what I wanted
It always fails with “expected 1 arugment, got 2” 
Is there any way to supply a spaced string to syncthing cli … set ?
System: Linux, bash, Syncthing 1.18.5
 : well, yeah, there’s a spelling error … not mine, so who cares
Works as expected for me:
$ ./bin/syncthing cli --home ./config-testing config devices BXAEQNX-MC4GCEG-YQZGMDJ-4ME4SDW-TGHNYWO-UD2NWHL-XTJA3C4-NMC65QL name set "testing-t480-testing space"
$ ./bin/syncthing cli --home ./config-testing config devices BXAEQNX-MC4GCEG-YQZGMDJ-4ME4SDW-TGHNYWO-UD2NWHL-XTJA3C4-NMC65QL name get
Ok! Thanks for testing. I was using a badly written wrapper and had a
Sorry for wasting your time. We should reduce this post as "typo found in error message (
arugment) " 8-)))
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.