View Single Post
Old 09-11-2014, 10:51 AM   #10
Shady3
Junior Member
Shady3 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2014
Device: Personal Computer
Quote:
Originally Posted by eschwartz View Post
Regarding your PM...

Assuming you do not need the books in the library GUI, you can use the following batch file to search the current folder (the folder you stick the batch file in) and convert all EPUBs to PDF:

Code:
del conversion.log
for /r %%I in ("*.epub) do (
    echo ******************************* >> conversion.log
    echo Converting "%~dpnI.epub" to PDF >> conversion.log
    ebook-convert "%~dpnI.epub" "%~dpnI.pdf" >> conversion.log
)
It will use the default conversion settings, exactly as though you used the "traditional" way in the library, but without any of the customizations the conversion dialog offers.

You can duplicate the effects of anything in the calibre conversion dialog using the command-line options detailed here: http://manual.calibre-ebook.com/gene...k-convert.html

Change
Code:
ebook-convert "%~dpnI.epub" "%~dpnI.pdf" >> conversion.log
to
Code:
ebook-convert "%~dpnI.epub" "%~dpnI.pdf" [options go here] >> conversion.log
Thank you a lot for your time. I created a batch file as you said, but I don't know what do I have to do with it. I create it, I open it in the folder where all my epub files are but nothing happens.

I also tried to change all these ************* for the folder where they are, but nothing happens: it opens and closes automatically.

Sorry for my bad skills :/

Sin título.png
Shady3 is offline   Reply With Quote