![]() |
#1 |
Nooking in Romania
![]() ![]() ![]() Posts: 54
Karma: 232
Join Date: Aug 2010
Location: Romania
Device: Nook WiFi
|
How to batch-convert with ebook-convert?
Hi
I have two questions about ebook-convert. Since Calibre is QT-only and i use mainly GNOME, I prefer to do all conversion using ebook-convert. My question would be how to batch-convert a series of files? Say I have a bunch of CBZ files I want to convert to EBUP for my Nook. Normally, I do them one by one with ebook-convert file.cbz file.epub. How to batch convert multiple files using ebook-convert? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Batch convert typically works by multi-selecting the books in the GUI before converting. I think if you want to do it using the CLI then you need to write a shell script to do it for you.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,318
Karma: 7975240
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Option 1: make a shell script containing a line for each book you want to convert. Choosing input and output file names are easy.
Option 2: make a shell script that loops over its arguments one by one, converting each book. Use shell tools like 'basename' to construct the output paths. Option 3: make a shell script that uses 'find' to walk a directory tree, converting books as it finds them. Again, use various tools to construct the output path. Option 4: make a GUI widget that accepts drag & drop, then processes each file one at a time. Option 5: some other way to do it. ![]() |
![]() |
![]() |
![]() |
#4 |
Nooking in Romania
![]() ![]() ![]() Posts: 54
Karma: 232
Join Date: Aug 2010
Location: Romania
Device: Nook WiFi
|
Thanks guys.
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 56
Karma: 10
Join Date: Jan 2011
Location: Ukraine Kiev
Device: sony prs 505
|
batch convert epub epub ISBN to file
Hi Charles,
i did for my exact understanding 1) have epub file which had not ISBN. Cheched by Sigil 2) fetch metadata - edit metadata individually by Calibre, Calibre saved it by opf file 3) epub file still have not ISBN, checked by Sigil again 4) convert epub to epub by "ebook-convert title.epub title-2.epub" 5) title-2.epub file includes ISBN - see by Sigil do i understand correct ? no way to simplify this ? what you will recommend for bulk convert - purpose - to put ISBN to the 10000 epub files ? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
What is your intended final use of the book?
If you intend to get it out of Calibre using any of the Send to Device, Send to Folder, Save to Disk options then the final conversion is not required. As part of any of thse operations Calibre will update the metadata in the book exported from Calibre. However if you want the metadat held in the copy of the book inside the calibre library, then the final conversion step IS necessary as that what embeds the new metadata. |
![]() |
![]() |
![]() |
#7 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Many formats support the use of the ebook-meta command line application (part of calibre). ebook-meta allows you to see and in many cases add metadata to ebook files.
|
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() Posts: 56
Karma: 10
Join Date: Jan 2011
Location: Ukraine Kiev
Device: sony prs 505
|
ebook-meta
Quote:
1. create Calibrary library csv file catalog with isbn column 2. create batch file based on csv file catalog 3. to use ebook-meta file by file such as ebook-meta title.epub --isbn 9781583226643 do i understand correct ? |
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 56
Karma: 10
Join Date: Jan 2011
Location: Ukraine Kiev
Device: sony prs 505
|
metadata in the file
i wish it, for some security reason. I think - for example i lost metadata.db and will need to add books again and fetch ISBN again.. this is BIG headache... so, if i backup the calibre library and will sure that not only metadata.db and opf file secured, but epubs have metadata into the file - it will more convenient for me. May be i'm wrong... i just thinking how to keep collection - increasing - for years - safe.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook-convert won't work in a batch file since 0.6.17 | mbovenka | Calibre | 20 | 01-13-2011 07:03 PM |
Batch Convert Ebooks? | April | Workshop | 7 | 12-09-2009 03:07 AM |
Batch convert entire folder | rling | Calibre | 2 | 10-02-2009 12:38 AM |
Batch convert error | Dopedangel | Calibre | 2 | 09-07-2009 03:46 AM |
Batch-convert Rocket Ebook format for GEB2150? | Fauve | Fictionwise eBookwise | 1 | 04-28-2007 05:12 PM |