This article has moved to our new Help Center and will no longer be updated on this page. Please see the Help Center for the newest version.
The command line option --sync
is similar to --batchmode in that it performs tasks, then exits. Unlike --batchmode, however, it only backs up and updates sync folders.
For example, you want to run the program Foobar.py upon logging in, but Foobar.py needs a data file in a SpiderOak sync to be up to date. The obvious solution is to run SpiderOak --batchmode before calling Foobar.py, but that could take a long time, needlessly delaying your program's launch. Better, use --sync so that SpiderOak does only what is immediately needed. You might want to then run --batchmode or --headless after or concurrent with your program, so that SpiderOak does the other work that needs to be done in the background. Thus:
SpiderOakONE --sync
Foobar.py &
SpiderOakONE --headless
The instructions above presume that you are running the current version of our application. If you are running an older version, download and install our current version, then follow the instructions above.