I accidentally deleted a handful of gzipped files from a folder. Thankfully, I had uncompressed them in a different location, and am in the process of restoring them. I had the md5 checksums for the old (now deleted) files, but the checksums for the newly compressed files don't match. Crap.
But... I have another folder that contains similar gzipped files from the same source, and I when I
gunzip and then immediately
gzip one of those files, the checksum is again different, leading me to suspect that the originator of the files used different parameters for gzip (if there's an alternative explanation, I'd love to hear it).
Is there any way to identify the gzip parameters used so that I can verify that my manipulation hasn't messed up the contents of the files?