|
|
Export iPhoto events into appropriate directory structure
This has really bugged me for a while and I really don't like the solution where all my files get renamed. I've written a python script that so far is doing what I want it. I'm parsing the AlbumData.xml file and walking through the list of all of the events/rolls. The roll lists all the imageId's that belong to it. From there I can get the original and modified image path. Then I look for a corresponding file in my target directory and compare the timestamps to see if I need to recopy the file (incase I've made changes to it in iPhoto). Anyway, I've just started using it and it appears to be working ok.
I'm running:
albumDataXml="/Users/YOURUSERNAME/Pictures/iPhoto Library/AlbumData.xml" targetDir="/Volumes/share/pictures" Here's the script:
Export iPhoto events into appropriate directory structure
I ran the script and it has done pretty much what I hoped for, copied all my iPhoto events into external directories with matching names. I was surprised by one thing. I modified the script to copy into a /Volumes/Photo_disk/Python_export folder. It created a folder inside that named "2010" and all of my new folders were created inside that folder. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|