Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Greek
  • Search

Transfer Greek Outlook Contacts Database to Evolution

Καλώs ήρθατε στο ελληνικό φόρουμ του Gentoo!
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
ktsaou
Tux's lil' helper
Tux's lil' helper
Posts: 80
Joined: Thu Jul 10, 2003 11:24 pm

Transfer Greek Outlook Contacts Database to Evolution

  • Quote

Post by ktsaou » Tue Dec 09, 2003 12:19 am

To transfer an Outlook Contacts Database to Evolution, the official way is (from the Evolution FAQ):
  • 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
Although this works, it does not handle Greek characters correctly, because Evolution expects everything in UTF-8.

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...
The program to be used instead of csv2vcard is:

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
Costa
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Tue Dec 09, 2003 8:14 am

Εγώ τα έκανα με λίγο διαφορετικό τρόπο. Τα έκανα export σε csv και στην συνέχεια με το gnumeric (ή άντε, άντε με το excel :lol: ) διόρθωσα και πρόσθεσα κάποια πραγματακια.

Στην συνέχεια πήγα στα contacts του mozilla και έκανα import το csv (θέλει μια μικρή αντιστοιχεία στα δεδομένα) και απο εκεί έκανα export σε ldiff format.

Τέλος έκανα το ldiff import στο evolution.

Αυτά.
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Greek”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic