Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Quotenfrau

macrumors 6502
Original poster
Mar 6, 2011
461
14
Hi

How-To import .vcf from Nextcloud export into iCloud?

Export file:

Code:
head addressbook.vcf
BEGIN:VCARD
VERSION:3.0
PRODID;VALUE=TEXT:-//Apple Inc.//macOS 11.1//EN

Script:

Code:
cat backup_nextcloud_adr.sh
#!/bin/bash
url="https://example.org/remote.php/dav/addressbooks/users/example@example.org/contacts/?export"
user=example@example.org
pwd=''
wget \
--quiet --output-document="../nextcloud/adr/addressbook.vcf" \
--auth-no-challenge \
--http-user=$user --http-password="$pwd" \
"$url"

On iCloud.com it does not work. It just does nothing, no contacts there but also no error message.

This is what I found with a web search.

thanks

 

Slartibart

macrumors 68030
Aug 19, 2020
2,915
2,628
Here is Apple Support’s guide on how to import .vcf into iCloud. Your export does not show any information besides a VCARD header - which is a result in of the default number of characters head displays. I assume that you edited the script and provided your user info and password before running it on NextCloud and that there are full contact entries in the export (cat your-exported.vcf)?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.