Skip to content

Incorrect warnings for decompression of tar extensions like tgz, txz, e.t.c #220

@figsoda

Description

@figsoda

Version

master (bafc2d3)

Description

the special tar extensions are not recognized when decompressing and extra warnings are generated

Current Behavior

$ ouch c src src.tgz && ouch d src.tgz
[INFO] Compressing 'src'. [00:00:00]   4.00KiB/ (39.15KiB/s, 0s)
[INFO] Successfully compressed 'src.tgz'.
Warning: The file extension: `tgz` differ from the detected extension: `gz`
Do you want to continue decompressing '/home/figsoda/ouch/src.tgz'? [Y/n]

Expected Behavior

no warnings

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions