fix: ignore non-existent columns

This commit is contained in:
relikd
2024-01-27 16:16:47 +01:00
parent 52cad1ebf9
commit f3ae2e3ff4
2 changed files with 37 additions and 19 deletions

View File

@@ -8,15 +8,21 @@ The output of this script should be exactly the same as dragging and dropping th
### Usage
```
```sh
python3 abcddb2vcard.py backup/contacts_$(date +"%Y-%m-%d").vcf
```
> assuming db is located at "~/Library/Application Support/AddressBook/AddressBook-v22.abcddb"
#### Export into individual files
```sh
python3 abcddb2vcard.py outdir -s 'path/%{fullname}.vcf'
```
#### Extract contact images
```
```sh
python3 vcard2image.py AllContacts.vcf ./profile_pics/
```