Skip to content

Ouch delete img and iso extension if image is archive and you try to upack it #351

@roland-5

Description

@roland-5

Version

ouch 0.4.1

Description

Openwrt and few other projects compress their images (iso or img) to something like xxx.iso.zip or yyy.img.gz.
If I try decompress them, ouch will delete all extensions, so it will be file named xxx and not xxx.iso or yyy and not yyy.img.

Is there workaround for it? I tried to prevent it with

ouch decompress yyy.img.gz yyy.img

but it throw error

[ERROR] failed to canonicalize path `yyy.img`
 - File not found

Current Behavior

No response

Expected Behavior

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions