Inside Out

Notes on seeking wisdom and crafting software

Convert CSV files into LDIF

These days I’m using Claws Mail to fetch my GMail stuff into my box. So I faced this problem of getting my GMail contacts into Claws Mail. The problem is that : GMail exports contacts in either “GMail to GMail format” or in “Gmail to Outlook” CSV format. And Claws Mail accepts only mutt, pine or ldif files.

There are some programs which do this : Dawn. Thats for the Windows users.

Those of us who don't have the time and energy to download "[Wine](http://www.winehq.com)" and run this exe, can go the online way. The idea is to use another intermediate file format : [VCard](http://en.wikipedia.org/wiki/Vcard). Here we go :

- Convert VCard to LDIF :

Well it works cool :-) Although I could get only a few fields(name and email) imported into Claws Mail, still it does work!

--- Greetings --- Today is the birthday of Mahatma Gandhi. To quote him :

In the attitude of silence the soul finds the path in a clearer light, and what is elusive and deceptive resolves itself into crystal clearness. Our life is a long and arduous quest after Truth

Blogged with Flock

Tags: clawsmail, outlook, cs, vcard, ldif, contacts