Thats exactly what I wanted to do! And thanks for the RegEx tipps … this I have to learn first.
I assume also URL should have been replaced!?!?
URL;TYPE=X-OTHER;VALUE=URI:https://help.nextcloud.com
URL:https://help.nextcloud.com
Thats exactly what I wanted to do! And thanks for the RegEx tipps … this I have to learn first.
I assume also URL should have been replaced!?!?
URL;TYPE=X-OTHER;VALUE=URI:https://help.nextcloud.com
URL:https://help.nextcloud.com
You can yes, but it’s not mandatory.
If I can help… Are there any specific questions?
Btw, I don’t recommend to apply regular expressions to vCards (except for quick-and-dirty hacking). Things can break, for instance folding; and there are differences between vCard 3 and vCard 4 syntax. I’d always use a vCard parsing/generating library to modify vCards.
OMG: What is that?
ADR;TYPE=x-privat;LABEL=Wangen / Neuravensburg:;;;Wangen / Neurav
ensburg;;;
There is no:
in this entry!?!? What is LABEL
?
This search is not finding any of these lines with Notepad++, Reg-Search:
X-ABLABEL:Mobil
X-ABLABEL:Privat
What to do with that?
GROUPEDLOGS1.URL;VALUE=URI:https://www.facebook.com/ti.ni.3114
GROUPEDLOGS1.X-ABLABEL:Other
Verion 4.0 !?!?!?!?!
With
NOTE:FIN: 153615
BEGIN:VCARD
VERSION:4.0
PRODID:+//IDN bitfire.at//DAVdroid/1.6.5-play ez-vcard/0.10.2
UID:d42bc848-96d2-46ea-8704-3205e78cb7ae
FN:Fodor
N:Fodor;;;;
NOTE:FIN: 153615
REV:20170811T174935Z
END:VCARD
What to do with that?
ADR;TYPE=home;LABEL=Bregenz :;;;Bregenz ;;;
VCard 3.0: Can this be deleted?
CLASS:PUBLIC
VCard 4.0: Can this be deleted?
PRODID:+//IDN bitfire.at//DAVdroid/1.9.10-beta-gplay ez-vcard/0.10.3
VCard 3.0: What is that?
ITEMTEL491627199998.TEL:+49 162 7199998
Can I delete these entries?
UID:0ed8f7e6-6cee-470f-a29a-a0b7f69bc83a
REV:2017-12-29T23:16:42Z
Yes there is after Neuravensburg
Remove the first part before the dot: URL;VALUE=URI:https://www.facebook.com/ti.ni.3114
You can drop the X-ABLABEL
It’s a proper value here. Though quite incomplete address
Same, you can cut before the dot: TEL:+49 162 7199998
No. Though if you don’t have a UID and import it, the contacts app will generate a new one for you.
You can keep it
Thx a lot @skjnldsv! I already cleaned up my 3 address books with ~ 1.300 entries
I’m pretty sure that this HowTo will help lot of others.
Next question: Some entries are VCard 4.0 and have entries like this:
VERSION:4.0
PRODID:+//IDN bitfire.at//DAVdroid/1.10.1.1-gplay ez-vcard/0.10.3
They come from davdroid.
We support both. We use vcard4 by default.
But entries created with Contacts always start with
BEGIN:VCARD
VERSION:3.0
The contacts app does create 4.0 vcards by default
Would you please then also post the created VCF file?
Thanks
Sure
BEGIN:VCARD
VERSION:4.0
PRODID:-//Nextcloud Contacts v3.0.4
UID:a8e7c99f-00b5-43f0-aa5a-d3c415dca217
REV;VALUE=DATE-AND-OR-TIME:20190311T082041Z
FN:New contact
ADR;TYPE=HOME:;;;;;;
EMAIL;TYPE=HOME:
TEL;TYPE="HOME,VOICE":
END:VCARD
As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.