![]() |
#1 |
Enthusiast
![]() 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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
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.
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
cover, filesystem, importing |
|
![]() |
||||
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 |