Generate birthday calendar from the vcf contact files
This is a question, not a bug report.
Instead of relying upon the Nextcloud (no customizable) birthday calendar, I would like to generate one from the BDAY field of my contacts. I have one .vcf file per contact, I am looking for a script to extract the birthday information and generates a single .ics file with it.
Do someone know such a tool (I believe to have seen one some time ago but I cannot find it anymore)?
Pretty sure I searched for this, and did not find anything worthwhile.
I believe khal can generate calendar entries for your contacts, but I'm not sure if it'll export ICS entries for them.
I believe khal can generate calendar entries for your contacts, but I'm not sure if it'll export ICS entries for them.
No, it doesn't export them.
But something like this could be quickly done with https://github.com/collective/icalendar
Solution I've found with Thunderbird:
- Create
<calendars dir>/birthdays vdirsyncer discoverto create that calendar on your server- Use the Thunderbird CardBook extension to sync your contact's birthdays (also supports anniversaries and such) with the
birthdayscalendar
Having a separate calendar for this is a personal preference. It can sync the events to any calendar/s of your choice.