epubcheck icon indicating copy to clipboard operation
epubcheck copied to clipboard

option to expand an epub

Open rdeltour opened this issue 12 years ago • 1 comments

From [email protected] on June 25, 2013 02:46:19

Low priority feature request to add the option to blow up an epub to an expanded directory, to complement the existing functionality to zip a directory up.

With amateurs making EPUBs using not-always-perfect conversion tools, it's not that uncommon to get errors that are not hard to fix but that requiring explaining the need to unzip the publication first. I was thinking it would be helpful if epubcheck could do both steps, so that the process could be simplified to using one program.

Thinking a simple option like:

-unpack <dir>

that if set would override any validation steps and simply unzip the epub to the specified directory.

Original issue: http://code.google.com/p/epubcheck/issues/detail?id=286

rdeltour avatar Oct 15 '13 01:10 rdeltour

@mattgarrish I would take this and implement it for a next release.

How shall we handle the case when <dir> already exists?

tofi86 avatar Jan 01 '17 22:01 tofi86