Every year I end up revisiting the fact that #Apple #Photos has absolutely crap exporting and archiving features, so this year I decided to rewrite my #macOS #export scripts in #Swift:

https://github.com/rcarmo/PhotosExport

GitHub - rcarmo/PhotosExport: Export ALL your data from Apple Photos

Export ALL your data from Apple Photos. Contribute to rcarmo/PhotosExport development by creating an account on GitHub.

GitHub
#Apple #Photos #macOS #export #Swift OK, fine, I created an icon for it. #sosumi
@rcarmo that sounds like a good fallback for when https://github.com/icloud-photos-downloader/icloud_photos_downloader has problems.
GitHub - icloud-photos-downloader/icloud_photos_downloader: A command-line tool to download photos from iCloud

A command-line tool to download photos from iCloud - icloud-photos-downloader/icloud_photos_downloader

GitHub
@WLBORg It forces download, but that's never really guaranteed to work from what I could see from the "network=true" API docs.
@gmthor NOOOOO, @siracusa will have kittens when he looks at my code :)
@rcarmo - this is exactly what I need precisely now - migrating away from the apple ecosystem and it is the photos library that has by far the most work that I haven't been able to fully migrate so far. Thank you!
@rcarmo - I've only looked at the github page so far. 2 questions:
1) does it export "faces" and the names associated with them (I think apple calls them "persons" currently) - in a format that e.g. DigKam will recognize and use?
2) by date (limited to 1970) - which date is that? I have a photo library with images dated back to 1840 or so. This is obviously not the file creation date, but I'd prefer to use this date for exporting the images. My iPhone doesn't allow any dates before (I believe) 1904, which is some epoch limit of the database, I believe.
@axel_hartmann 1) I don’t know if there is any API whatsoever that can do that. I didn’t dig a lot into it but Apple doesn’t have a very cohesive story about metadata APIs. 2) it’s common sense because there aren’t any digital cameras that far back, and I could just as well put anything else. Patch and rebuild,
@rcarmo @axel_hartmann I’ve got photos going back to the 1960s that were scanned from slides and negatives, tagged and imported. Something like 1900 (Kodak Brownie) seems like a safer bet.
@mathew @axel_hartmann it’s one constant. In a git repo. You know what to do…
@mathew @axel_hartmann you guys asked for it, and I was too lazy to do it myself.