|09-01-2012, 10:24 PM||#1|
Join Date: Sep 2012
Device: Moon+ Reader Pro on Android
Sync Calibre Library in Dropbox for Windows
I thought I'd share this little tidbit which I discovered quite accidentally. Not sure if this was discussed before, my searches didn't find anything and I thought I'd share. If this was covered previously, I apologize.
I was thinking if it's possible in Windows 7 to create a symbolic link to the files in my Calibre Library without having to move the entire folder and it's contents into my Dropbox folder and then reconfigure Calibre to read the new location. Sort of like a way to keep a running "backup" of my Calibre Library. Here's how you do it:
1) Load the cmd.exe as administrator by going to the Start button and typing cmd when it appears in the list, right-click on it and click on Run as Administrator
2) This will load a black window and the prompt will read
4) In the command window, type:
5) The prompt will change to read something like: c:\User\[User Name]\Dropbox. This is good.
6) Now, type:
mklink /D "Calibre Library" "%userprofile%\Calibre Library\"
7) You will now see what appears as a regular folder inside your Dropbox folder called "Calibre Library" which acts like a shortcut directly to your actual Calibre Library folder.
8) You may now close out the command window by typing "exit" or just clicking on the close button.
The operating system, and more importantly, Dropbox, thinks that the folder actually exists in the Dropbox folder. Any time you add or change anything using Calibre, the files and metadata will be automatically synced with your Dropbox account.
|09-02-2012, 10:15 AM||#3|
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
One note: as per the recommendations of a Dropbox developer* you should have the "real" files residing within the Dropbox folder, and make a link from your "%userprofile%\Calibre Library\" to that instead. Calibre (and most other local software) won't care, but Dropbox uses some extremely complicated code to be able to handle change detection and file handling across different combinations of OS and filesystems, it might get confused if you trick it with links.
* I saw this in a discussion about storing live save game files in Dropbox. Regrettably I can't find it now, but the explanation from the developer was compelling.
Edit: It seems that this small utility works this way, it has a simple gui: http://dropboxifier.codeplex.com/
Last edited by Man Eating Duck; 09-02-2012 at 10:31 AM. Reason: Added Dropboxifier
|calibre library, dropbox, sync|
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Calibre Library in Dropbox||GeckoFriend||Library Management||3||02-22-2012 04:07 PM|
|The Calibre Library and Dropbox||Geramita||Related Tools||3||01-27-2012 12:05 PM|
|Sync from Kindle to Calibre library||RBMcG||Calibre||4||05-14-2011 05:08 PM|
|Using one Calibre Library (via Dropbox) on Multiple Computers||PocketGoddess||Related Tools||14||02-20-2011 04:15 AM|
|[Q] Calibre settings sync between computers using dropbox||Dopedangel||Related Tools||8||12-21-2010 07:44 AM|