I recently had the need to upload some backup files in a cron job to an ownCloud server via bash. Since I couldn’t find any good solutions to do that on the web, I crafted my own script which I open sourced on GitHub:
Mella – ownCloud upload via WebDAV using curl
Questions, comments and pull-requests are very welcome.