View Single Post
Old 09-02-2012, 02:26 AM   #7
jm2
Junior Member
jm2 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2012
Device: iPhone, PRS-350
Yes, thank you very much for that post.

Just to make sure I understand - if I use symlinker, for each remote library, I should:
  1. Backup the metadata.db file.
  2. Move the file from the remote location to a local dir.
  3. Choose the remote calibre library dir as "the place where I want my link" in symlinker.
  4. Choose the local copy of the metadata.db file as "the real folder I want to link."
It turns out the answer to my original question is no. The CALIBRE_OVERRIDE_DATABASE_PATH environment variable cannot be used with more than one library:

Quote:
Using the environment variable CALIBRE_OVERRIDE_DATABASE_PATH disables multiple-library support in calibre. Avoid setting this variable in calibre-portable.bat unless you really need it.
So I'm glad the symlink method works!

Alternatively, would using mklink in an elevated command prompt as follows also work? I've listed the remote dir (where the link will go) first and the metadata file path second:

Quote:
mklink "X:\Books\Calibre Library 1" "C:\Calibre Portable\Metadata\Calibre Library 1\Metadata.db"

Last edited by jm2; 09-02-2012 at 02:34 AM.
jm2 is offline   Reply With Quote