#!/bin/sh set USER=<username> set PASS=<password> set BASE_URL=<full_http[s]_address_and_base_path> set CONFIG=<configuration_name> # Remove previous configs rm -rf ~/.config/syncevolution # Create initial config syncevolution --configure \ --template WebDAV \ username=$USER \ password=$PASS \ syncurl=$BASE_URL/ \ target-config@$CONFIG # Create CardDAV syncevolution --configure \ database=$BASE_URL/$USER/addresses/ \ backend=carddav \ target-config@$CONFIG \ addressbook # Create local sync config syncevolution --configure \ --template SyncEvolution_Client \ sync=none \ syncurl=local://@$CONFIG \ username= \ password= \ $CONFIG # Create local addressbook sync syncevolution --configure \ sync=two-way \ backend=addressbook \ database= \ $CONFIG \ addressbook # Run initial syncs syncevolution --sync slow $CONFIG addressbook