![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
![]()
newbie question here,
im trying to convert alot of ebooks using command line with wildcards, but it giving me error messages, so i have to do it one by one. i used this command for to convert a bulk of .lit files ebook-convert *.lit *.epub am i doing something wrong? is it just simply impossible & i have to do it via the GUI? to be honest i prefer to use the command line as the GUI is running pretty slow in my laptop. ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ebook-convert doesn't support wildcards, just write a simple batch file/shell script to wrap calls to ebook-convert
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
I don't recall if it applies to ebook-convert, but several of Calibre's command line utilities don't play well with the Windows command processor when invoked in a batch file. If you're on Windows and have problems with the batch file stopping after one line, come back here for more advice. I usually wrap a "for" loop around the Calibre utility to operate on a single batch line, or use "start" in front of the lines in the batch file, but there are some other workarounds if you have trouble.
|
![]() |
![]() |
![]() |
#5 | ||
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
Quote:
ooh thanks Starson17 for the offer, I used this command line Quote:
![]() |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
That's pretty close to how I do it. The for loop works great.
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
Quote:
![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
Tags |
wildcards |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
More fun with regex / wildcards | zelda_pinwheel | Sigil | 28 | 01-06-2013 09:57 AM |
Need some conversion help | Ticallion | Fictionwise eBookwise | 9 | 01-09-2010 07:45 PM |
wildcards in sigil | bobcdy | Sigil | 2 | 12-18-2009 10:19 PM |
Conversion Help | crotalus99 | Amazon Kindle | 2 | 03-09-2009 04:34 PM |
the conversion | mastermx | Sony Reader | 9 | 08-18-2007 07:05 AM |