View Single Post
mced's Avatar
Posts: 115 | Thanked: 185 times | Joined on Apr 2011 @ Spain
#6
Originally Posted by qwazix View Post
cat'ing all vcf files together should work
Not really. But I've found a workaround.

PROBLEM: I've got this "catted" VCF file with 84 contacts. Something like this one (numbers and sensible data are fake, of course):

Code:
BEGIN:VCARD
VERSION:2.1
UID:662
REV:2011-05-14T10:21:32Z
TEL;CELL;VOICE:123456789
N:;Alejandra;;;
EMAIL:fakeemail@gmail.com
END:VCARD
BEGIN:VCARD
VERSION:2.1
UID:620
REV:2011-01-21T16:18:53Z
TEL;CELL;VOICE:123456789
N:;Ana;;;
END:VCARD
BEGIN:VCARD
VERSION:2.1
UID:603
REV:2011-01-22T14:27:53Z
TEL;CELL;VOICE:123456789
N:;Antonio;;;
END:VCARD
And so on...
--Transfer VCF file to Home directory.
--Settings - Apps - People does detect it. Tap on "Import from file".
--Just one contact imported: the first one, "Alejandra".
--Try again. Same result.i

WORKAROUND:

--Open terminal.
--Edit VCF file (vi, nano...). Erase first contact's lines (from BEGIN:VCARD to END:VCARD, inclusive). In my example, "Alejandra" now is gone and first contact is "Ana".
--Return to Settings - Apps - People. Tap on "Import from file".
--Remaining contacts should be imported.

Last edited by mced; 2013-12-29 at 14:38.