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 06-12-2014, 11:25 PM   #1
charlweed
Enthusiast
charlweed began at the beginning.
 
Posts: 27
Karma: 30
Join Date: Jul 2011
Device: none
Add jpg as cover when imported.

I have a big batch of text files I would like to import as books. One book per directory, with the cover as a jpg in the same directory.

Is there an automated way I can add each jpg as the cover of the book that shares the directory?

Thanks!

P.S. These books do no exist on any external online databases.

C.
charlweed is offline   Reply With Quote
Old 06-13-2014, 12:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,034
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are comfortable using the command line, use calibredb to import your books with a shell script. Other than that you will need to create an opf file in each directory that contains that contains the metadata and a link to the cover. See the OPF files in the calibre library directories for samples.
kovidgoyal is offline   Reply With Quote
Reply

Tags
cover, filesystem, importing


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cover.jpg creation sjfwhite Calibre 2 10-21-2013 02:35 PM
How-to Auto-add cover.jpg? buralex Library Management 6 03-05-2013 03:25 AM
JPG image lost when add HTML file to Calibre mshane Conversion 8 01-03-2013 06:08 PM
Using the book name for the cover.jpg Bigo2 Calibre 7 12-31-2011 09:06 PM
Can't update cover if file cover.jpg is already in the directory ? q345 Calibre 14 06-08-2010 06:23 AM


All times are GMT -4. The time now is 09:48 PM.


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