Import vcard 3.0 contacts to Trojita

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Import vcard 3.0 contacts to Trojita

Postby dglent » Dec 25th, '15, 13:32

I use google contacts for the contacts and i have them available on my phone and tablet.
On my pc i use Trojita, and to have my contacts there i use this script:

https://github.com/dglent/vcf2addressbook

It can be launched without any argument so it sorts the existing contacts of Trojita

Or, with the contacts.vcf file (vcard 3.0) as an argument, and it will convert the contacts.vcf to addressbook Trojita file. In this case it overwrites the existing file and contacts (no merge).

Launch the script in the folder: "~/.abook/"
Code: Select all
python vcf2addressbook.py contacts.vcf


My wishes for the end of the year (Christmas or what ever you celebrate)
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Import vcard 3.0 contacts to Trojita

Postby doktor5000 » Dec 25th, '15, 19:50

Hi there, is this meant as a solution for others? Then I'd move it into our tips&tricks subforum.
In any way, thanks for sharing :D
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Import vcard 3.0 contacts to Trojita

Postby dglent » Dec 26th, '15, 05:27

Hi! Yes for me was a solution in order to use the addressbook in Trojita. I have started to import manually the addresses and i realised that i need a tool.
I suppose that it would be useful for other Trojita users too.
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron