Ownlcoud Client on RaspberryPi

Owncloud offers a Desktop Sync client which is relatively comfortable to use. But if you want to sync on a headless client or to a system where there is no binary offered you may want to use a console sync version.

Just compile or install csync with owncloud support. Now you can run the following command:

csync -c [LOCALDIR] ownclouds://[USER]:[PASSWORD]@[SERVERURL]/remote.php/webdav

For regulary checks you might put this to cron