View Single Post
Old 11-17-2011, 03:01 PM   #1
kbrannen
Junior Member
kbrannen began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2011
Location: USA
Device: Android phone
Easy conversion with 1 chapter per file?

I have a number of books (articles) that are 1 chapter per file in HTML, 1 book per directory. I've been having trouble making Calibre easily change those to an epub doc. So help?

I eventually figured out that it works better when I put all the files into a zip file and try to add/convert that. I can get it better still if I create a toc.html much like in the user manual -- a bit of a pain but I can write a perl script to do that. (I don't know python.) I could concat all the files into a single file per book, but that has it's own drawbacks, unless that's the secret to making this process work (then I'll live with the drawbacks).

I was hoping that there was an easy way to tell Calibre to take all the files in "this directory" and create an epub. Is there such a command or plugin or whatever that someone can point me to? I didn't see anything like that in the user manual.

Also, how do you do the above from the command line? I have more of these dirs than I care to convert by hand, but the user manual doesn't give any hints that help (or else I can't find the right parts).

So, any pointers to docs, web pages, whatever, would be very helpful. I'm sure I can't be the first with this problem, but my searching has not found anything so far.

Thanks!
Kevin
kbrannen is offline   Reply With Quote