Talk:Import Vcf Contacts
From Openmoko
(→Import for ASU/Qtopia: new section) |
Monkeypanic (Talk | contribs) (should we rename or move content?) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == vcf 3.0 to 2.1 conversion workaround == | |
− | + | I'm trying to import my contacts from evolution, which can apparently only export vcf 3.0, and I couldn't find a converter to 2.1. | |
− | http:// | + | What I found is a [http://lists.openmoko.org/nabble.html#nabble-td784024 mailing list thread] with a workaround using sed and iconv. The command needed is: |
− | + | sed -r -e 's/;TYPE=([^,]+),[^;]+([;:])/;TYPE=\1\2;/g' old.vcf | iconv -t 'ascii//TRANSLIT' > new.vcf | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | This | + | This transliterates special characters. I'll try to find out if it is also able to convert the special chars properly. |
− | + | Other than that, I get plenty of | |
− | + | found unknown attribute in vobject, TEL | |
− | + | warnings. Any idea where those come from? --[[User:Ockham|Ockham]] 23:30, 27 September 2008 (UTC) | |
− | I | + | |
+ | nevermind. i found out myself and added a section to the article. --[[User:Ockham|Ockham]] 18:34, 28 September 2008 (UTC) | ||
+ | |||
+ | |||
+ | == exporting == | ||
+ | |||
+ | I would like to neaten this up by either creating a new page for exporting or put everything related to contact management here ergo renaming the page. thoughts? | ||
+ | [[User:Monkeypanic|Monkeypanic]] 02:59, 16 October 2008 (UTC) |
Latest revision as of 04:59, 16 October 2008
[edit] vcf 3.0 to 2.1 conversion workaround
I'm trying to import my contacts from evolution, which can apparently only export vcf 3.0, and I couldn't find a converter to 2.1. What I found is a mailing list thread with a workaround using sed and iconv. The command needed is:
sed -r -e 's/;TYPE=([^,]+),[^;]+([;:])/;TYPE=\1\2;/g' old.vcf | iconv -t 'ascii//TRANSLIT' > new.vcf
This transliterates special characters. I'll try to find out if it is also able to convert the special chars properly. Other than that, I get plenty of
found unknown attribute in vobject, TEL
warnings. Any idea where those come from? --Ockham 23:30, 27 September 2008 (UTC)
nevermind. i found out myself and added a section to the article. --Ockham 18:34, 28 September 2008 (UTC)
[edit] exporting
I would like to neaten this up by either creating a new page for exporting or put everything related to contact management here ergo renaming the page. thoughts? Monkeypanic 02:59, 16 October 2008 (UTC)