View Single Post
Old 12-09-2022, 03:11 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Terry Brown View Post
I am trying to convert a .epub file to a .epub file using ebook-convert from terminal in macos Ventura.

I can do this in the Calibre GUI, and it renames the original epub to file.ORIGINAL_EPUB. However I can't do this with the command line ebook-convert. Trying this:

Code:
ebook-convert file1.epub file2.epub
Gives the following error:



I can do this by converting first to .mobi, for example, then converting back to .epub, but this messes up some of the formatting in the original epub.

Is there a way to do epub to epub conversion using ebook-convert from the command line?
Put it in a different folder? I guess the GUI allows a cleanup pass (EPUB>EPUB) that the cmdline does not. Does it even do anything (changes) if no profile called?
theducks is offline   Reply With Quote