[ Thanks to Dmitri
Popov for this link. ]
“I store all my photos on a Linux server and mount the remote
directory containing all the photos on my local machine using sshfs
(see Manage Photos from Multiple digiKam Installations). This way,
I can access my photos from multiple digiKam installations. This
setup works like a charm, except for one thing: when I
inadvertently launch digiKam before I mount the remote directory,
the application doesn’t show photos from remote albums. What’s
worse, after I mount the remote directory and restart digiKam, it
takes the application a long time to rescan all remote albums. To
fix this annoyance, I wrote a simple Python script…”