View Single Post
Old 04-13-2015, 11:27 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Why would you want to use the calibre editor as a wrapper to do something that is better done using, say, `unzip` and `sed`?

Assuming you are somewhat masochistic you can also do it with vim.
vim does support opening ZIP files, and EPUB is a rebadged ZIP, so... here's what Kovid Goyal did before he wrote the editor: ePub and vim



Given that there are far better solutions for scripted editing of files, I doubt any equivalent functions will be added to ebook-edit.
eschwartz is offline   Reply With Quote