View Single Post
Old 08-29-2018, 09:16 AM   #5
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 659
Karma: 863576
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by Kiruhdu View Post
I often have to work over a whole series of calibre-created epubs where I do the same corrections in the CSS over and over...

Now I want to ask if there is any way to do this in a batch or something similar
As I see it, that would require a tool that's able to search & replace inside an epub (or a zip-archive, which is more or less the same thing), without touching anything else in the archive.

The only tool I know of that's able to do that (in Windows anyway), is PowerGrep https://www.powergrep.com/, but it comes with both a learning curve and a price tag, and both sort of steep …

I'm told that there exists a Linux commandline grep-tool to search and (maybe?) replace in zip files - zipgrep. I've not used Linux lately, but you might be able to use it in a shell script or something.

As allways: FWIW.

Regards,

Kim
elibrarian is offline   Reply With Quote