ouch icon indicating copy to clipboard operation
ouch copied to clipboard

decompress: don't panic on `.tar.zip`, `.zip.zip`, etc

Open vrmiguel opened this issue 1 year ago • 1 comments

Hopefully closes #431

See https://github.com/ouch-org/ouch/issues/431#issuecomment-1575100804 for context

vrmiguel avatar Jun 03 '23 18:06 vrmiguel

Previous behavior: we always decompress all formats in the chain for all supported files.

This PR breaks this, I'm clueless what are the implications of this.

We could suggest ouch decompress archive.zip.zip --format zip when we see more than one archive format in the format chain?

Would this be better or worse than the approach here? What do you guys think?

marcospb19 avatar Jun 04 '23 17:06 marcospb19