Archive for October, 2011

Export iPhoto Library to Folders

Wednesday, October 26th, 2011

Just a quick update on my #noapple efforts.

I work on three main machines: a desktop at the office, a desktop at home and a Macbook Air.

A couple of months ago I started using Ubuntu (Naughty Nightnurse) at work, and I figured I’d wait until 11.10 Onanistic Oliphant was out before upgrading the other systems. I need to write a long post about my decision to use Ubuntu and what I like and dislike about it (no screensaver in 11.10, seriously?) but I’ll have to save that for later. This weekend I got my iMac at home to tri-boot OS X, Windows 7, and Ubuntu.

But for now I want to talk about an iPhoto replacement. I’ve looked at several and I’m leaning strongly toward Shotwell. However, this requires that the image files exist outside of the iPhoto database. I tried just selecting and exporting all of them, but it appears that since several photos have the same name (the default numeric name provided by the camera) the newer files were overwriting the older ones. Kind of a pain when you have around 10,000 images to export.

Through the magic of Google I managed to find a nice little script that will export the images from the iPhoto database into Folders based on events. You can find it on Github, but basically just run:

curl >

and then

python ~/Pictures/iPhoto\ Library/

I strongly recommend running it in test mode by adding a “-t”. I didn’t realize it, but my iPhoto database had some corruption, and yes, this was after all of the cleanup options available when starting iPhoto while holding down the Command and Option keys.

The problem was in the iPhoto AlbumData.xml XML file. Two of my images had a file type of “^@^@^@^@” instead of “JPEG”, but the real pain was that about 100 photos, around 1%, simply didn’t exist. While there was a thumbnail, there was no image file:


I hope they weren’t anything important.

Anyway, once I corrected the issues in the XML file, the script completed in test mode, and then it did it’s magic and exported all my photos into nice folders, all ready for Shotwell or whatever product I decide to use.

I’m too sexy for my shirt (part deux)

Tuesday, October 25th, 2011

Wearing my new shirt today:

Training Announced in London

Monday, October 24th, 2011

Just a quick note that we are delighted to be able to schedule our week-long OpenNMS training course for London, the week of 28 November.

Our host is the Girl Guiding Association, the UK version of Girl Scouts founded by Robert Baden-Powell, and also an OpenNMS user. The room we will be using for training is smaller than the one we had in Reading earlier this year, so space is limited. Hope to see you there.

Three of the Top 25 Most Powerful Financial Companies Use OpenNMS

Monday, October 24th, 2011

I saw this study (PDF) on Slashdot today talking about how 147 companies control 40% or more of the global economy.

On page 33 there is a list of the top 50, and I was pleasantly surprised to see three of the Top 25 were OpenNMS commercial support customers.

So, if you want to rule the world, use OpenNMS.

Livestong – the New York Marathon

Tuesday, October 18th, 2011

My good friend and our company president will be celebrating his 50th birthday by running in the New York Marathon (his first).

He is doing this to raise money for the Lance Armstrong “Livestrong” foundation.

Every little bit helps, so if you can contribute please follow the link.