#!/bin/bash cp ~/evolution/local/Contacts/addressbook.db ~/addrbook.db rm -f ~/evolution/local/Contacts/addressbook.db strings ~/addrbook.db > /tmp/addr-temp$$ grep -v ^PAS-DB-VERSION /tmp/addr-temp$$ > /tmp/addr-temp1$$ grep -v ^UID /tmp/addr-temp1$$ >/tmp/addr-temp2$$ grep -v ^pas-id /tmp/addr-temp2$$ > ~/old-evo-addr-book.gcrd rm -f /tmp/addr-temp$$ rm -f /tmp/addr-temp1$$ rm -f /tmp/addr-temp2$$ echo echo "READ THIS, all of it" echo echo "Created gnomecard file ~/old-evo-addr-book.gcrd" echo echo "Now see if you can load the file into \"gnomecard\". If you can then" echo "Evolution should load it just fine. If you can't, open the file" echo "in a text editor and check for bad formating. I found some " echo "BEGIN VCARD entries had two B's (BBEGIN VCARD). echo echo "Once you know it will load in \"gnomecard\" go and make one new dummy " echo "contact in Evolution and save it. I found Evoulution segfaulted and" echo "I had to close it but when I executed it again my dummy contact was" echo "intact." echo echo "Now run Evolution and import the file \"old-evo-addr-book.gcrd\" into" echo "your contacts. DON'T choose \"automatic\" for the file type, choose" echo " \"vcf, gcrd\". echo echo "Good luck"