Copying iCloud PhotoStream photos to a directory.

A while ago I stopped using either Aperture or iPhoto to manage my photos and switched to Lightroom. Pretty much the only downside of switching was the lack of PhotoStream import. This lead to me having a bit of a poke around on the filesystem and see where the Apple products were getting the photos from.

It turns out that once you have installed either Aperture or iPhoto the iCloud system preference lets you enable PhotoStream support. What this actually happens in the background is some system service is enabled which downloads the photos into a directory under ~/Library.  I intended to keep Aperture installed, so I figured I could just write a short bit of code to walk this directory, pulling out photos and putting them into a directory of my choosing.

I’ve put the script up on git hub, which you can find here. Feel free to copy it and use it, drop me a line if you have any issues.

Apple Aperture 3.4 update

So on the day of iOS6 Apple also released the 3.4 update to Aperture and osX 10.8.2. It seems if you apply all these updates, Aperture first updates your library, and then quits every time you load it. Brilliant, gee thanks Apple. why bother with actually testing software, you wouldn’t want to dent the 100 billion you have in the bank. Anyway, apparently it is something to do with the Facebook account info held within Aperture, you can zero this out by runnning the following at the command line:

defaults remove com.apple.Aperture AccountConfigurations

This worked for me but Aperture no longer knew about my Flickr, or Facebook accounts. At least I got my photos back. Between this and iOS6 maps, this isn’t a great week to own Apple products.