Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2011, 11:32 AM   #1
CRussel
(he/him/his)
CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.
 
CRussel's Avatar
 
Posts: 12,287
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
Multiple Copies of One Library

I keep the primary version of my Calibre library on my Windows HomeServer, as a shared folder called "Kindle", but like to keep local backup copies on the various computers in my environment that might happen to need access to it, just in case. To do this, I've created a couple of batch files that synchronize the folder, using RoboCopy. (Robocopy is included in Windows 7 and Server 2008, and can be downloaded for earlier versions of Windows from Microsoft.com.)

First, a disclaimer: This is not the official Calibre way to do things.

To update my local copy:
Update-FromWHS.cmd
Code:
REM Batch file to update the local Calibre Kindle library 
REM from the one on WHS. 
REM

Setlocal 
Set LocalKindle=D:\Kindle
Set WHSKindle=\\Homeserver\kindle

robocopy %WHSKindle% %LocalKindle% /MIR /xf "*.cmd"
Change the internal variables to match your environment. The /MIR switch to Robocopy makes an exact mirror of the directory on the source onto the target. The /xf switch excludes the two batch files, since they can be different for different target machines. The second batch file is essentially similar but goes in the other direction to allow me to make changes to my local copy of the library when I'm not connected to my home network, but then update the master copy on the WHS server when I get back home.
CRussel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple copies of books mr ploppy Amazon Kindle 4 10-30-2010 01:20 PM
Multiple Copies on Reader! niki_a Sony Reader 9 04-20-2010 09:05 AM
Multiple copies of same book in different formats Starson17 Calibre 10 01-07-2010 11:55 AM
multiple copies nirax EPUBReader 15 12-22-2009 08:22 AM
In Design CS3 creates multiple copies of same images! paulgodard Workshop 2 12-13-2009 10:22 AM


All times are GMT -4. The time now is 02:21 PM.


MobileRead.com is a privately owned, operated and funded community.