We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Missing import contacts [answered]

asked 2019-02-02 20:35:12 +0300

Jolla fan 007 gravatar image

updated 2019-02-02 22:48:39 +0300

rozgwi gravatar image

Hello Jolla people,

I have Sailfish 3.0.1.14 running on Xperia XA2 -Dual SIM. I would like to transfer contacts from old phone to new one. But there is no possibility to import contacts from file. I thought it should be somewhere inside "People" app. But there is only "Select contacts", "Show search" and "Add contact"menu items.

So I would like to ask, how can I import contacts ? Thanks for answer

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Spam Hunter
close date 2019-02-09 11:56:11.326940

Comments

Wau, this is nice. I didn't know there is such settings. Thanks a lot !

Jolla fan 007 ( 2019-02-03 22:30:50 +0300 )edit
1

Cool, I hope it helps, if it does, it is good netiquette to pop back and say "problem sorted!" then we can close the question marking it as 'answered'. Welcome to TJC.

Spam Hunter ( 2019-02-04 00:44:08 +0300 )edit
1

You are right. Thank you very much Problem is solved.

Jolla fan 007 ( 2019-02-09 10:57:07 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2019-02-03 12:09:44 +0300

pillenpepi gravatar image

updated 2019-02-03 12:10:04 +0300

if you dont mind using terminal:

Install vcardconverter if not already installed.

pkcon install nemo-qml-plugin-contacts-qt5-tools

Import contacts from vCard

devel-su -p vcardconverter contacts.vcf

Export local contacts to vCard

devel-su -p vcardconverter --export contacts.vcf

found via

https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet

edit flag offensive delete publish link more

Comments

Sometimes when importing a vcard address book, some of the records do not import. I found this exporting a large address book from Evolution. It seems the importer is picky about some of the X-* vcard tags and formats and then ignores the corresponding records. This snippet worked for me.

#!/bin/bash
# decruft evolution vcards

sed -e 's/\;X-EVOLUTION-E164=[0-9]*//'  \
    -e 's/\,\+[0-9]//'  $1 \
    | sed -e 's/\,\"+[0-9]*\"//' \
    | sed -n '/X-EVOLUTION-FILE-AS/!p' \
    | sed -n '/X-QTPROJECT-FAVORITE/!p' \
    | sed -n '/X-NEMOMOBILE-SYNCTARGET:bluetooth/!p' \
    | sed -n '/X-GENDER/!p'
consumercitizen ( 2020-03-09 18:19:32 +0300 )edit
2

answered 2019-02-02 21:49:40 +0300

Spam Hunter gravatar image

updated 2019-02-02 21:51:32 +0300

@Jolla fan 007

Go to: Settings/Apps/People/Start import wizard

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2019-02-02 20:35:12 +0300

Seen: 362 times

Last updated: Feb 03 '19