iPhoto shell

brian_d_foy on 2004-02-13T05:38:05

I have been fooling around with iPhoto, which is a real dog in performance, even if I automate things with AppleScript. However, I discovered that Mac::Glue is a lot faster, at least once it starts up. As I have been organizing about 22,000 photos, I have been adding commands to an iPhoto shell I created.

It goes like this:

iphoto> show camels
54 pictures in "camels"
iphoto> merge camels sheep
merging "sheep" with "camels"
34 pictures in "sheep"
54 pictures in "camels"
88 pictures in "camels"
iphoto> remove sheep
removing sheep
iphoto> show saddam
109 pictures in "saddam"
iphoto> select 10-100
selecting 91 photos in "saddam"
iphoto> add selection to export
adding 91 photos to "export"


That is so cool

pudge on 2004-02-17T23:43:52

That is so cool

Re:That is so cool

brian_d_foy on 2004-02-18T03:56:39

It is even more cool now, but I need to work out a little bug before I can upload it.

One nagging thing I have not investigated:

I added a "reload" command that exec's the script, so I can work on the script and not lose the shell. It works fine until I use some of the other commands, then I get an "Operation not supported" message, which I think comes from some sort of shell error. I think it might have something to do with filehandles. Oh well. I might just have to nix that feature.