View Single Post
Old 08-05-2009, 08:17 PM   #23
Kirtai
Addict
Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.Kirtai ought to be getting tired of karma fortunes by now.
 
Posts: 304
Karma: 2454436
Join Date: Sep 2008
Device: PRS-505, PRS-650, iPad, Samsung Galaxy SII (JB), Google Nexus 7 (2013)
What I did to make a portable calibre on my usb drive is the following:

Create a bat file with the following contents

@echo off
set CALIBRE_CONFIG_DIRECTORY=%cd%\config
cd calibre
calibre.exe --with-library ..\calibre-db
exit
In the same folder, make the following folders: calibre, calibre-db, config.
Copy calibre into the "calibre" folder.
Your book database will be in the calibre-db folder and config files in calibre-db.

You can start calibre from the bat file and it should just work.

I still need to make a unix script for this but it should be very similar.
Kirtai is offline   Reply With Quote