maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Quickly import contacts from file on N9 (https://talk.maemo.org/showthread.php?t=82979)

HanzBlix 2012-03-12 06:18

Quickly import contacts from file on N9
 
Ok I found a far easier/quicker way to import your contacts back from your exported contacts, all those pesky .vcf files.

Unfortunately the second step being importing through a file manager doesn't seem to work properly pre PR1.2, definitely not on PR1.1 and it's probably the same on PR1.0. Pre 1.2 it will only show the first contact instead of listing them all.
The merging of your contacts into one .vcf file still does work if that has any benefits.

Once you've exported your contacts to file, they are automatically saved to MyDocs/Contacts, or say if you've copied your contact folder back onto your N9, I'd recommend copying them back there to keep the following terminal code the same.
You may want to make an extra backup copy of your contacts folder but this should be safe enough.

You'll need to activate developer mode to access the terminal, well its an easy way at least.

Open terminal and enter the following:

Code:

cd /home/usr/MyDocs/Contacts

cat *.vcf > allcontacts.vcf

And voila, all your contacts are in one single .vcf file called allcontacts.vcf, it's located in the same contacts folder, now you can open allcontacts.vcf from a file manager like filebox, mark all, then import.

Done, your welcome.

tiiagoFernandez 2012-03-12 17:28

Re: Quickly import contacts from file on N9
 
If it works, its genious!

Makeclick 2012-03-12 18:49

Re: Quickly import contacts from file on N9
 
Wow! Thank you!!! Could someone make a nice app and put it at the nokia store?

drzmbs 2012-03-12 19:28

Re: Quickly import contacts from file on N9
 
it's work thank you

HanzBlix 2012-03-13 20:31

Re: Quickly import contacts from file on N9
 
Quote:

Originally Posted by Makeclick (Post 1178521)
Wow! Thank you!!! Could someone make a nice app and put it at the nokia store?

I'm looking into it, I actually considered holding off on this thread until I'd at least ruled out app possibilities, but considering the frustration that led me to find that magic little line, well it was rude not to.

No promises though.

tiiagoFernandez 2012-03-14 20:57

Re: Quickly import contacts from file on N9
 
Wooo! It worked flawlessly, but the command line is not that special.
I use to do this at oldie MS-Dos

HanzBlix 2012-03-15 23:21

Re: Quickly import contacts from file on N9
 
Quote:

Originally Posted by tiiagoFernandez (Post 1179532)
Wooo! It worked flawlessly, but the command line is not that special.
I use to do this at oldie MS-Dos

Haha agreed, the magic is in the simplicity, much like the White Stripes, no?
Perhaps using a term that represents nothing in reality is inappropriate though.

snowparang 2012-03-23 03:03

Re: Quickly import contacts from file on N9
 
hi,

I've manage to create the allcontacts.vcf file and successfully imported all contacts to my Google account.

However, when I open the file using Filebox, it only shows the first person, If I try to save contacts, it only saves the first contact.

So how do I import all the contacts in the allcontacts.vcf file back to my phone?

HanzBlix 2012-03-23 10:51

Re: Quickly import contacts from file on N9
 
That's weird, you didn't accidentally select one of the other contact files instead of the allcontacts.vcf by chance? It'd be either that or somehow importing to the google account messed up the file, though I can't imagine why the latter would be the case, plus I can't think of many things worse than giving google all my contacts so I won't test if that actually messed up the file.

So long as you haven't deleted all of the individual .vcf files of course, you could try deleting the allcontacts.vcf then run the terminal command again,
Literally all you have to do after running the concatenate command is open the allcontacts.vcf file, select the "mark all" button down the bottom, then click the import button.

It should look like this:
http://farm8.staticflickr.com/7044/6...92ffe361_m.jpg
Then:
http://farm8.staticflickr.com/7204/6...193b03c1_m.jpg

It shouldn't look like this:
http://farm8.staticflickr.com/7051/6...45af9863_m.jpg

If it does look like the last image, then there's only one contact in your allcontacts.vcf file, which doesn't make sense if all of your contacts successfully uploaded to google from that allcontacts.vcf file.

So yeah make sure you didn't accidentally select the wrong .vcf file.

snowparang 2012-03-24 04:22

Re: Quickly import contacts from file on N9
 
Hanzblix, tks for your reply!

no, i did not open the wrong file. Is it a Filebox setting? My version is 0.0.9 from Ovi Store. What i see is the single contact view that you've shown.


All times are GMT. The time now is 16:39.

vBulletin® Version 3.8.8