12
7
I have a bunch of book length text files I'd really like to read on my EPUB reader (as it happens FBReaderJ). What would be the best route to convert them?
I have access to Mac OS X and Linux (Ubuntu). Probably happiest with a command line, but would setting for a GUI for batch conversion.
My criteria for success are really based upon the shortfalls I have found with Calibre
- must do the whole book
- at least a guess of what the title/author may be. Minimum the source filename for the title.
- hygienic with files it uses - tidies up after itself (this is less important)
- doesn't try to be an all-in-one library manager (again, less important).
- is lenient in parsing special characters (e.g. < and & characters).
Found this gist detailing how to get it to work using Brew. It seems a little funny that it's not available for install without Calibre.
Here's how to install it on macOS:
– Denis Stafichuk – 2020-02-29T15:51:25.720brew cask install calibre. And then use:ebook-convert path/to/input_file.input_format path/to/output_file.epub. You can find full documentation here: https://manual.calibre-ebook.com/generated/en/ebook-convert.html