To download files or directories, use --restore. Here are a few examples:
SpiderOakONE --restore=/path/to/foobar.txt restores the most recent version of foobar.txt to SpiderOak One's default download directory.
SpiderOakONE --restore=/path/to/foobar.txt --output=/path/to/where/you/want restores the most recent version of foobar.txt to the specified directory. This and the previous example use files but they also work for restoring a directory.
You will notice that it does not by default restore files or directories to where they came from. This is to protect users from accidentally overwriting things, but the second example shows how to specify where you want the file or directory to go.
Empty backed up directories are not restored. This is a known issue that we will be addressing.
The option --restore downloads the most recent version of a file or directory. To restore a historical version, use --point-in-time.
Only one file or directory may be restored at a time. This causes users trying to restore lots of files using --restore and a script to get locked out of our servers with a "reconnecting too fast" error if the script make more than 150 connection attempts in an hour. This behavior will be improved, but in the meantime it is wise to throttle any script that repeatedly calls --restore.