.vcf ist ja nur reiner Text. Hier ein einfaches AppleScript, das alle Photos entfernt

• Code in den Script Editor kopieren und starten
• Quelldatei auswählen
• Die neue Datei wird als contactsWithoutPhotos.vcf auf dem Desktop gesichert. Die Originaldatei wird nicht verändert.

Show Plain Text
  1. set vcf to choose file of type {"vcf"}
  2. set destination to {}
  3. set theSource to paragraphs of (read vcf as «class utf8»)
  4. repeat with i from 1 to (count theSource)
  5.   set aLine to item i of theSource
  6.   if aLine does not start with "PHOTO" and aLine does not start with space then
  7.     set end of destination to aLine
  8.   end if
  9. end repeat
  10. set {TID, text item delimiters} to {text item delimiters, (return & linefeed)}
  11. set destinationText to destination as text
  12. set text item delimiters to TID
  13. set targetFile to ((path to desktop as text) & "contactsWithoutPhotos.vcf")
  14. set fileDescriptor to open for access file targetFile with write permission
  15. write destinationText to fileDescriptor as «class utf8»
  16. close access fileDescriptor
----------
Gruss

Stefan