View Single Post
Old 12-07-2016, 05:36 PM   #11
Trel
Connoisseur
Trel began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Jan 2010
Device: Onyx Boox Poke 3
Quote:
Originally Posted by BetterRed View Post
@Trel - so, assuming you're accessing the metadata.db file via the SQLite API I don't understand your problem. From the db you can access the book folders (you already know that) and read the cover.jpg files - you don't have to expose the other files.

You seem to be asking if anyone has done what you've already half-done. Have you looked in the Related Tools subforum - there's a 'useful threads' sticky at the top.

BR
I was asking if there was a specific way within Calibre to save essentially a backup copy of the "Calibre Library" folder, but with JUST the covers, and not the ebooks.

The answer to what I was asking was "no, you need to use robocopy, rsync, or similar utility".

Basically I was asking if there was some sort of inbuilt function to achieve the same result.

(There wasn't)

The rest was just many people misunderstanding what I was trying to do.

Basically I could have copied the entire 'Calibre Library' folder to a webserver and it would work, but I did not want to include the actual ebook files (piracy, etc).

My end goal is a single file script you drop on a server with the metadata.db and (a bash or batch script to copy the covers sans ebooks, but maintaining the dir structure).

I'm also going to be including in a config ini file the option to not even include the covers, which is working right now. At which point it's drop the config ini, php file, and database in a web accessible folder, and you're good to go.
Trel is offline   Reply With Quote