01-18-2023, 09:35 PM | #1 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Oct 2022
Device: none
|
batch script for subsetting fonts?
I have little to no knowledge of batch script language, so some help would be very grateful.
I want to batch the process of subsetting embedded fonts to reduce end file size. And I found command line user guide : here https://manual.calibre-ebook.com/gen...ok-polish.html so I can subset fonts with this command : ebook-polish -f "C:\users\namehere\filename.epub" "C:\users\namehere\filename1.epub" but this applies to single file only and I have thousands of epub files to subset fonts from. I want all epubs in "namehere" folder to subset fonts at once to save some time. after some digging, batch script for windows came to mind. problem is like I said I have almost zero knowledge for using this. maybe using "for" loop command will repeat the process, but it would be great to know full lines of commands that must be used. thank you p.s) if possible, let me know the batch command lines for calibre editor's lossy image compression, since polish tool only supports loseless compression which won't help much in reducing file sizes. Last edited by tatagi; 01-18-2023 at 09:53 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Subsetting fonts problem when using pseudo-classes | jackie_w | Development | 4 | 09-28-2022 11:36 PM |
Darkening and subsetting fonts | roger64 | Workshop | 54 | 05-03-2018 02:29 AM |
PDF to EPUB batch/script conversion ? | smallhagrid | Conversion | 5 | 06-14-2011 06:33 PM |
Python script: batch create mobi's from epubs (if they don't exist) | jmeb | Conversion | 0 | 05-20-2011 01:14 PM |
prs-gen.pl :: Batch RSS->PDF Script | hrbrmstr | Sony Reader | 1 | 10-28-2006 11:53 AM |