by software artist Scott Draves. You may also follow me on google+ or twitter, buy art, or join me on facebook.

February 01, 2007

Importing addresses into a Sidekick

A couple of weeks ago I got a sidekick after my old flip phone finally broke in half. Unfortunately the SIM card was unreadable and I lost my address book! Fortunately the sidekick has a web interface into which one can import an address book from a PC, and I have most of the important records in my Thunderbird address book. Unfortunately, the sidekick only supports syncing with Outlook on Windows. It doesn't support LDAP, which Thunderbird can export to, or vCARD. But the web interface does allow importing simple CSV format. So I wrote a python program to translate LDIF (the name of the file format used by LDAP) to the right CSV. It should run on Mac OS X, but I did it on Linux. It uses the python-ldap which was preinstalled. Here it is under GPL. Run it on the command line like "ldif2csv < infile.ldif > outfile.csv" and then upload outfile.csv to your Desktop. This was really quicky-minimal if you find it lacking let me know. Posted by spot at February 1, 2007 09:21 PM
Comments
Post a comment









Remember personal info?




Please copy the security code: