crabz
crabz copied to clipboard
Feature request: add --no-name flag
By default the gzip header saves a NULL-terminated filename and a timestamp. However, having these results in non-reproducible output for the same content.
Therefore pigz, gzip and igzip all feature a --no-name flag in order to not include the filename and set the timestamp in the gzip header to 0.
It would be great if crabz could have the same flag for inclusion in xopen. (https://github.com/pycompression/xopen). This library enhances python compression speed by piping through external programs and since a few releases back always creates reproducible output by default.
That seems like a great feature all around! I'll try to get that added in the next week or so. Thanks for making an issue!
crabz
does in fact write zeros to the header, despite not having a --no-name
flag, thus creating reproducible outputs.
This is a limitation which is actually somewhat advantageous in this case, although this feature is definitely still desirable.
Ah, good to know, thanks!