Quote:
Originally Posted by BetterRed
Sorry, with respect to library locations Calibre Portable knows nothing about X: or Q: by definition libraries (or symlinks thereto) must be in the directory into which Calibre Portable is installed. If that directory happens to land on a different drive letter so be it, calibre wont care because it's all relative 
|
That's what I was trying to say. calibre-portable can resolve library paths in the top level Calibre Portable folder/same folder as calibre-portable.exe. I'm not saying that it's Calibre that does the resolving of the symlinks at all.
To make it a bit clearer, assuming you've added these three libraries in the following locations to Calibre Portable: Calibre Library, Calibre Library 2 and My Main Calibre Library
Quote:
Q:
|
+-- Directory: Calibre Portable
| |
| +-- File Calibre-portable.exe
| +-- Directory Calibre Settings
| +-- Directory Calibre
| +-- Directory Calibre Library
| +-- SymLink: Calibre Library 2 (symlink to "../My Main Calibre Library")
|
+-- Directory: My Main Calibre Library
|
and the location changes to this:
Quote:
X:
|
+-- Directory: Calibre Portable
| |
| +-- File Calibre-portable.exe
| +-- Directory Calibre Settings
| +-- Directory Calibre
| +-- Directory Calibre Library
| +-- SymLink: Calibre Library 2 (symlink to "../My Main Calibre Library")
|
+-- Directory: My Main Calibre Library
|
calibre-portable can find both Calibre Library and Calibre Library 2 but it won't be able to find My Main Calibre Library directly.
Mind, calibre-portable kinda does know about Q: and X:. The settings store absolute library paths but if the path doesn't exist, as long as the library is in the top level Calibre Portable directory (same location as calibre-portable.exe), calibre-portable can fix the path.
I've encountered occasions where where if the original absolute path still exists, it will open that one instead of the copy in the new location. e.g. If you mirror C:\Calibre Portable to Z:\Calibre Portable and run Z:\Calibre Portable\calibre-portable.exe without deleting the original folder in C:, the last opened library is usually resolved (Z: copy) but if you switch to other libraries, it would open the C: copy.