View Single Post
Old 10-24-2012, 05:45 AM   #3
Chris Jones
Addict
Chris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five wordsChris Jones can name that ebook in five words
 
Posts: 242
Karma: 37089
Join Date: Oct 2012
Device: none
Quote:
Originally Posted by mbovenka View Post
Um, not really...

Does 'Add books from directory, including subdirectories (One book per directory, assumes every ebook file is the same book in a different format)' not work?
Thanks for pointing me in the right direction..!

In case someone needs to batch-load the contents of this CD to Calibre on linux:
Code:
$ mount -w -o loop /other/media/ebooks/PGSFCD-032007.iso /other/loop
$ cd /other/loop
$ mkdir ~/tmp/sfcd
$ cp -a Gutenberg\ SF/*-h ~/tmp/sfcd
At this point all the .html books each with its associated images are in ~/tmp/sfcd:
Code:
$ tree ~/tmp/sfcd

├── 18172-h
│   ├── 18172-h.htm
│   └── images
│       └── image_01.jpg
├── 18261-h
│   ├── 18261-h.htm
│   └── images
│       ├── 001_01.jpg
│       ├── 001_02.jpg

etc.
So, I opened calibre, per your advice, chose.. IIRC... the third "Add books" option (multiple books per directory) and typed in the name of my top level "sfcd" directory in the popup's field somewhere near the bottom of the screen (otherwise, if I clicked it the linux GUI would open the directory and display its contents).. clicked the "choose" button.. and Calibre uploaded all 64 books in the directory.

I proceeded to do a bulk convert, accepting all the defaults.. and a couple minutes later all 64 jobs had finished executing and the books were available in a nicely formatted .epub format with embedded illustrations and all.

Whole thing only took about five minutes..!

Now I only have to rename the books from nnnnn-h to something a bit more civilized, change such things as the author's name.. and look for proper covers.

Maybe there's a way to make Calibre extract the title and author's name from the contents of the .html file.. but that's way beyond my abilities.

Thanks..!
Chris Jones is offline   Reply With Quote