Thread: doc to epub
View Single Post
Old 02-02-2010, 02:28 AM   #33
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Thanks.

Yeah I pretty much do all my calibre conversions using scripts or the command line, partly to avoid Calibre's GUI messing with my file structure. Calibre is still doing the conversion, though, so let's give credit where it's due.

Actually, the modifications you'd need to do batch converting with .PDF or .LIT should be pretty straightforward. If you want, e.g., to convert all the .pdf's in a folder to *.epub, using calibre alone, just use my second line above, but change (*.html) to (*.pdf). Or change it to (*.lit) to convert .lit files to .epub. If you want .lit files as output, just change the "%%~nI.epub" at the end to "%%~nI.lit"

Similarly, if you want to use it for converting files that AbiWord handles but calibre doesn't (WordPerfect, or Works, or Word 2007), keep the first line, and change (*.doc) to (*.docx) or (*.wpd) or (*.wps), or whatever. Keep to=html at the end, and (*.html) in the second line.

If you want to get serious about this, though, you should read up on calibre's ebook-convert command line program and the many options it offers, as well as a batch guide for Windows such as this one, or if you use another OS, try a bash script.

Last edited by frabjous; 02-02-2010 at 02:32 AM.
frabjous is offline   Reply With Quote