Go to file
Guido Günther 1789724bcf Use shellcheck as test
This makes sure shell scripting is on the safer side.
2020-07-23 16:14:03 +02:00
debian Use shellcheck as test 2020-07-23 16:14:03 +02:00
LICENSE Add LICENSE 2020-02-10 16:21:47 +00:00
Makefile Use shellcheck as test 2020-07-23 16:14:03 +02:00
README.md updated README 2020-07-22 23:29:07 +02:00
contacts-importer contacts-importer: Protect against whitespace on import 2020-07-23 16:11:22 +02:00
contacts-importer.desktop Associate with mime type 2020-07-23 11:44:21 +02:00

README.md

diy contacts importer

This repo is just a place to dump experimental scripts to import VCF files.

The use case for it is:

  • To allow a Librem 5 user that is migrating from Android to move his contacts as a vcf file to the Librem 5 and import

This issue is common to all projects that used Evolution (the database backend of gnome contacts) to manage contacts: Openmoko, Uuntu Touch

Dependencies:

  • yad
  • syncevolution
  • sed
  • awk
  • libnotify-bin

logic: This script breaks down a vcf file with multiple contacts into multiple files. One vcard file per contact entry and imports them one by one.

The reason for this is that importing all the contacts at once from one single file with syncevolution is error prone.

problems: See the issues list.

This is only a quick and dirty bash script to do this task.

The proper way to do this: "having a easy way to import vcard files to the Librem 5/PureOS and GNOME, with GNOME Contacts and Evolution Data Server as a backend"

Would be to:

  1. Someone writing a python/gtk application to do this.
  2. (And even better) Someone submiting a patch to GNOME-Contacts for that application to support importing vcard files.

A new hope (Yes I am a Star Wars fan): There has been recent activity to add the import vcard feature to gnome contacts. When that happens, this package will have no reason to exit.

Other References: