jensb / iphoto2xmp

Export an Apple iPhoto image library to a new directory (using hardlinks) with all metadata saved in XMP sidecar files.
GNU General Public License v3.0
34 stars 9 forks source link

Across devices, directory name, and rerun overwrite questions #8

Closed zzaappedd closed 6 years ago

zzaappedd commented 7 years ago

At first try I failed because I was pointing to directories on different devices. Ran it with i/o in same directory and it worked (noob here, so might be my fault, but it can help others). Made a mistake on escaping the space of the iphoto directory (noob alert)

More importantly and the reason for me writing this is that there was an error that stopped the process 75% through my 80gb library. I would like to rerun the script but don't know if it appends or overwrites previous work. Not versed on code well enough to check on my own. Thanks.

and I forgot, too bad this awesome effort of yours hasn't made it to the top of google searches on the subject. A lot of painful proccesses on countless blogs involving exiftool and just plain giving up on metadata preservation; thank you for sharing this huge effort.

jensb commented 7 years ago

Please quote the error message and the last lines before it while running like this:

 DEBUG=1 ruby iphoto2xmp.rb ...

The script will refuse to run twice with the same output directory because it can't guarantee that the iPhoto databse IDs have not changed in the meantime, so incremental partial output is not supported (right now). If you have a large database, please run it with "time" for me so I can get an idea how long the script takes.

zzaappedd commented 6 years ago

sorry, lots of time have passed since then and I must apologize for not following up. I ended up using Mylio to transfer out of iphoto, but I'm back here because Mylio failed to pickup some jp2 files out of iphoto. Luckily I found out and rescued 1100 photos before I erased forever my iphoto library. What an odyssey.

mlevin77 commented 6 years ago

Can you tell me more, how do you use Mylio to get data out of iPhoto?