04-18-2010, 10:31 PM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
using wildcards for conversion ?
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. |
04-18-2010, 11:13 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
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 | |
|
04-19-2010, 01:03 AM | #3 |
Member
Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
why didnt i think of that? thanks
|
04-19-2010, 10:48 AM | #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.
|
04-19-2010, 02:17 PM | #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 | |
|
04-19-2010, 02:45 PM | #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:
|
|
04-19-2010, 09:30 PM | #7 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
04-20-2010, 10:16 PM | #8 | |
Member
Posts: 12
Karma: 10
Join Date: Apr 2010
Location: VIC Australia
Device: Purple EZ Reader Pocket Pro
|
Quote:
|
|
Tags |
wildcards |
|
Similar Threads | ||||
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 |