ouch icon indicating copy to clipboard operation
ouch copied to clipboard

Trying to extract a double compressed tar file with improper filename leads to confusing error

Open lolbinarycat opened this issue 2 months ago • 0 comments

Version

ouch 0.6.1

Description

If a filename ends in .tgz, but the actual format is .tar.gz.gz, this will lead to a very odd error:

[ERROR] numeric field did not have utf-8 text: �
��=� when getting cksum for �

Current Behavior

No response

Expected Behavior

No response

Additional Information

It would also be nice if there was a flag to make ouch ignore the file name of the input file and just rely on magic number detection instead.

lolbinarycat avatar Nov 05 '25 20:11 lolbinarycat