Quote:
Originally Posted by tatagi
I have thousands of ebooks that must have their embedded fonts wiped out altogether. So I installed calibre and modify epub plugin, to speed up the wiping process.
I already had "Remove embedded fonts" option checked and unchecked all the others in the plugin settings dialog.
But I am stuck in command line prompt.
https://manual.calibre-ebook.com/gen...cli-index.html
https://manual.calibre-ebook.com/gen...bre-debug.html
I read these tutorials first but it's not too newbie friendly and I have no clue where to start. So, it would be very helpful if any of you get me on the right direction.
For example, I am about to remove embedded fonts from all the epub files that are located at "C:\Users\JohnDoe\epub files\" including its subfolders "C:\Users\JohnDoe\epub files\foldername1" "C:\Users\JohnDoe\epub files\foldername2"... etc. and I want all the newly made fonts-free epub files to move to the new folder ""C:\Users\JohnDoe\new epub files" keeping the same file name and subfolder structures, with the original files unscathed.
Adding the books first in the GUI library isn't the option because I am not using calibre as my ebook management application. I prefer to use windows explorer to locate and open the file with the viewer of my choice.
Step by step guide would be very much appreciated.
Thank you.
|
Hi,
From a quick look in
Modify Epub wiki, as well as in file
me.py contained in the plugin package I see that you would need to:
1) Unpack the plugin, go to the subdirectory
commandline
2) Open a command prompt in that folder and then run
calibre-debug -e me.py "input_epub_path" ["output_epub_path"] --remove_embedded_fonts
I suggest you create a spreadsheet with columns for each command bit, and then assemble a .bat script.
There are tools for Windows that can help you copy the epub filenames and paste them in one of those columns...