Created
May 2, 2018 00:08
-
-
Save labrache/4f741ee975ab73de2772fd623be048fa to your computer and use it in GitHub Desktop.
vdirsyncer google to synology
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
status_path = "~/.vdirsyncer/status/" | |
# CARDDAV | |
[pair contacts] | |
a = "contacts_syno" | |
b = "contacts_google" | |
# /!\ can vary | |
collections = [["contacts", "addressbook", "default"]] | |
metadata = ["displayname"] | |
[storage contacts_syno] | |
type = "carddav" | |
url = "https://<synology URL(+PORT)>/addressbooks/users/<username>" | |
username = "<synology username>" | |
password = "<synology password>" | |
[storage contacts_google] | |
type = "google_contacts" | |
#create token file: | |
token_file = "~/.vdirsyncer/tokens/googlecontacts" | |
#get from google API | |
client_id = "XXXXXXXXXXXXXX.apps.googleusercontent.com" | |
client_secret = "XXXXXXXXXXXXXX" | |
# CALDAV | |
[pair calendar] | |
a = "calendar_google" | |
b = "calendar_syno" | |
#can add calendar: ,["other", "<google agenda>", "<synology CAL>"] | |
collections = [["main", "<google agenda usually @email>", "<synology CAL usually home>"]] | |
metadata = ["displayname", "color"] | |
[storage calendar_syno] | |
type = "caldav" | |
url = "https://<synology URL>/caldav/<username>/" | |
username = "<synology username>" | |
password = "<synology password>" | |
[storage calendar_google] | |
type = "google_calendar" | |
#create token file: | |
token_file = "~/.vdirsyncer/tokens/googlecalendar" | |
#get from google API | |
client_id = "XXXXXXXXXXXXXX.apps.googleusercontent.com" | |
client_secret = "XXXXXXXXXXXXXX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment