Open lamyergeier opened 2 years ago
Something like this should work:
[general]
status_path = "~/.local/share/vdirsyncer/status/"
##### Calendars ######
[pair calendars]
a = "calendars_local"
b = "calendars_fastmail"
collections = ["from b"]
metadata = ["color", "displayname"]
conflict_resolution = ["command", "vimdiff"]
[storage calendars_local]
type = "filesystem"
path = "~/.local/share/calendars/"
fileext = ".ics"
[storage calendars_fastmail]
type = "caldav"
url = "https://example.com/some-path/"
username = "me@example.com"
password.fetch = ["command", "keyring", "get", "vdirsyncer", "me@example.com"]
# Using `password = "123"` also works.
If it doesn't, please post your whole config (without the password!!) and any output.
This worked for me after using the value of username
as some-path
in the url
. In this case url = "https://example.com/me@example.com"
which of course isn't a valid URL.
Using @
in a URL is perfectly valid: https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
Off the top of my head, medium.com uses it for the URL of articles (using @username
). Fastmail also uses @
in the URL for carddav collections.
Note that @
is not valid for the domain part.
Oops, sorry, you're right. Well you learn something everyday :)
I checked: vdirsyncer/config.example at master · pimutils/vdirsyncer, but I am still confused about customizing it for my Radicale server, which has files as follows
So, I have 5 calendars, out of which 4 of them are empty and one of them has 3 events. Each one of these calendar has file
.Radicale.props
that describes the metadata of the calendar:How to include all the calendars into vdirsync, so that I( can access it with khal?