- 1. Export contacts from Outlook to DOS CSV
2. Move the file to Linux and use the csv2vcard program to create a .vcf file
3. Import the file to Evolution
Solution:
Follow the procedure above with the following exceptions:
- 1. export the contacts from outlook to WINDOWS CSV (not DOS CSV).
2. Instead of using csv2vcard, use the supplied script (see bellow).
3. Import the generated file to Evolution and enjoy Greek contacts...
Code: Select all
#!/bin/sh
if [ ! -f "$1" ]
then
echo "USAGE: $0 file"
echo "Output will be created at file.vcf"
exit 1
fi
in="$1"
tmp="/tmp/`basename $in`.tmp"
log="/tmp/vcf$$.log"
cvs2vcard="/usr/libexec/evolution/1.4/csv2vcard"
if [ ! -x "${cvs2vcard}" ]
then
echo "Where is cvs2vcard?"
exit 1
fi
cset="ISO-8859-7"
echo "Converting CSV to VCF in $tmp, log in $log"
date >$log
"${cvs2vcard}" "$in" "$tmp" >>$log 2>&1
cat $tmp |\
sed "s/^N:/N;CHARSET=$cset:/" |\
sed "s/^FN:/FN;CHARSET=$cset:/" |\
sed "s/^ADR:/ADR;CHARSET=$cset:/" |\
sed "s/^ADR;/ADR;CHARSET=$cset;/" |\
sed "s/^TITLE:/TITLE;CHARSET=$cset:/" |\
cat >$in.vcf
rm $tmp
rm $log

