BMorearty / exportiphoto

Export iPhoto library to a folder structure
MIT License
140 stars 34 forks source link

Would like to use this but does not understand #8

Closed jaron-lee closed 13 years ago

jaron-lee commented 13 years ago

I would like to use this script to export my iPhoto library. However, I got stuck when the instructions read:

python exportiphoto.py [options]

Being new to this I assume this goes into Terminal? Correct me if I'm wrong. I tried putting:

python /Users/myusername/Desktop/exportiphoto.py -d /Users/myusername/Pictures/iPhoto Library/ /Users/myusername/Pictures/Photo Export/

but the error returned was:

exportiphoto.py: error: Please specify an iPhoto library and a destination.

I've downloaded the Python package (version 2.7) as well as the python script, running Mac OSX 10.6. If someone would be so kind as to walk me through the whole process step by step it would be very much appreciated, as I have had no programming experience whatsoever.

BMorearty commented 13 years ago

Mac OS requires you to put a backslash before a space if the space is part of a filename. Try this:

python /Users/myusername/Desktop/exportiphoto.py -d /Users/myusername/Pictures/iPhoto\ Library/ /Users/myusername/Pictures/Photo\ Export/

jaron-lee commented 13 years ago

Hi, thanks for responding. I ran it again, and this time the error returned was:

I'm running iPhoto 8.1.2. I tried rebuilding the library but that seemed to have no effect.

BMorearty commented 13 years ago

Hmm, that's frustrating. It seems to be having trouble parsing the XML file. I don't know what would be causing that. I'm using the same version of iPhoto as you.

I was going to ask if it was possible that you copied & pasted the command-line from above but forgot to change "username" back to your real username...but then I tried it and you would have gotten a different error message.

Sorry, I don't know what to suggest.

jaron-lee commented 13 years ago

Well, that's ok. Thanks very much for your time. I'll have to manually copy out every event, but so be it.