I was stressing out over my photo library. It seemed like Aperture had lost track of thousands of photos. I was so confused I went to the Apple store to get help, and they managed to help me with one problem, but that only solved the mystery of a few of the missing photos. The remainder, Aperture was convinced, were located on a volume called "NIKON D80." This led the Apple store guy to suggest I'd erroneously "imported" all those images off my camera without actually moving them off my camera which I found inconceivable and horrifying. But truly when I searched every drive I had for those filenames I continually came up empty. Then this weekend I fired up my old Mac on the off chance that these images were somehow hiding on a drive I'd never copied. Know what? I found some of them, buried in iPhoto libraries. I thought I'd solved the mystery and joyously began copying things around, making space, and trying to convince Aperture I'd found the missing images. It wouldn't believe me, and despite crazy manipulations with symlinks, loopback filesystems
, voodoo dances, (and Aperture mysteriously crashing when I tried to reconnect certain images,) I thought I was going crazy. And then I noticed that SOME of the directories from inside those projects were STILL missing. I noticed almost all the problematic projects were imported iPhoto projects and wondered if there was a problem specifically with them. I was right! I finally realized where the images really were: on another drive, in a directory full of iPhoto libraries that Spotlight doesn't search inside of. (I'd used unix tools on my old Mac since I couldn't use Screen Sharing on the old OS.) The other thing that threw me is Aperture's schizophrenic way of treating iPhoto projects: it gives the "real" OS path of files in some places and the "iPhoto" path (involving event names and rolls) in others, and that is what breaks reconnect.
Unfortunately, I'd left that hard drive connected to my computer at work. (It has my music on it.) Ludicrous chains of technology to the rescue!Portable Hard Drive (MEMEX)
(SMB over Cisco VPN)
(IP obtained via RDC under Windows under BootCamp)
(OSX apparently doesn't support Active Directory)
Mounted as /Volumes/MEMEX
(loopback fs via MacFUSE)
Mounted as /Volumes/NIKON D80
With this setup, rebuilding the Aperture library (command-option as it loads) magically reconnected every missing file that was left, as far as I can tell.
I still don't know how it decided these libraries were on "NIKON D80" or how I can convince it otherwise so I don't have to execute
mkdir /Volumes/NIKON\ D80
sudo ./loopback /Volumes/NIKON\ D80 \
before starting Aperture.
On a side note, I discovered a ton
of photos I never imported and lots of old documents I never pulled off of my old Mac! Should be fun to sift through later.