Sunday, May 20, 2012

Moving from iPhoto to Lightroom

I've been using iPhoto since I bought my mac, but lately it seems to be getting slower and buggier... Takes ages to launch, search doesn't work properly, and my library of about 25,000 photos seems too much for it. So I decided to try Lightroom.

Unfortunately, there's no easy way to get out of iPhoto, be it for Lightroom, Picasa, or whatever... There's no simple way to export all of your events into nice subfolders! So I built my own way out!

I created a python script that reads the data from iPhoto, and uses it to create a tree structure with year/name_of_event and all the photos inside. Here's a screenshot of the script running:


To use the script, download it from here, and execute it via the terminal using:

python iphoto-to-folders.py [AlbumData.xml] [destinationDir]

[AlbumData.xml] is a file inside your iPhoto library, and can usually be located at ~/Pictures/iPhoto\ Library/AlbumData.xml

[destinationDir] is the folder where you want your photos to be copied to.

A couple of notes about the script:

  • It only copies the original versions of the photos. Changes you made in iPhoto are not copied.
  • It copies all the files from your iPhoto library, so it needs quite a bit of disk space.
  • It may take some time to run. To copy my 25.000 photos it took 1.5 hours
  • It's not supposed to mess with your iPhoto library, but do make backups!
  • It has no warranty whatsoever!
  • It's supposed to be tweaked! If you're comfortable with python, adapt the script to your needs.
If you have any questions or spot some problems, please submit them here. And be sure to leave a comment telling me how the script worked for you!

6 comments:

Anonymous said...

Next time you should consider not using an operating system that has "locking you in" as main objective.

It's a good thing that you have the expertise to know how to get out of this trap, but the majority of people don't have that expertise. They have fallen into the trap, and will not be able to get out. That is, unless they find this blog post, which will certainly help; my point, however, is that you should try not to fall into the trap in the first place.

portabledownloads said...

MLB The Show 20 PC Download
Adobe Creative Cloud Crack
MiniTool Partition Wizard Crack
ZBrush Crack
Adobe Creative Cloud Crack
Asian Action Movies 2017
Tatoors

newcrackkey said...

microsoft-office-2010-crack-free-keyis the world most prominent program for contemplating, office and individual use and so on this program incorporates Word, power point, distributer, excle, abundance and viewpoint. We utilize this program to make and altering picture and to save and get our information and data. Above all else we see MS word in this program we make straightforward and refined archives.

procrackkeys said...

freevimager-crack-2022

freecrackkey said...

lightworks usemame and password crack

Smith Michael said...

Thanks for sharing such a great post. Nice Post I Enjoyed!
MiniTool Partition Wizard Crack
DeepL Pro Crack
Manycam Pro Crack