Hi!

unfortunately, everytime when calling addressbook, it asks for confirmation which is anoying in a for loop.

I exported contacts from Thunderbird using https://nic-nac-project.org/~kaosmos/morecols-en.html
and than I just concated the who vcf files into one:

cat *.vcf > all.vcf

This one can be easily imported. Also German umlauts are working fine.

Alex

Markus Schlichting wrote:
hi,
i think a little script similar to the old on on http://www.smurfy.de/files/neo/import_contacts
 should do the job.

just for a starting point:

#!/bin/bash
export DISPLAY=:0
for contact in `ls *vcf`; do
        LD_LIBRARY_PATH=/opt/Qtopia/lib /opt/Qtopia/bin/addressbook $contact
done;

didn't try it as i'm out of time :( , let me know if it was somehow useful :)

cheers markus




Am Montag, 25. August 2008 16:46:52 schrieb Nishit Dave:
Hi,

I've been doing the following (same command, different directory location)

 export DISPLAY=:0


 LD_LIBRARY_PATH=/opt/Qtopia/lib /opt/Qtopia/bin/addressbook
/home/root/addressbook.vcf


The problem I have is that I have to issue the second command for each VCF
file in my exported contacts folder.  Is this the only way, or can all VCF
files be imported all at once?  I have hundreds of them, so this is very
important.

By the way, I have also installed the openmoko-contacts application and
imported all files with one of the scripts on the wiki.  However, as the
alternate dialer doesn't work (can't get a lock on gsmd), I am stuck
between a rock and a hard place.  The 2007.2 version is better in one way -
it lets you create as many categories as you want, while the qtopia version
only has 'business' and 'personal' categories.

Again, any pointers?

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to