gzip: Restoring original filename

I can't say this has happened to me often but recently the question came up on whether or not gzip retains the original filename. Here are the commands necessary to not only find the original filename but uncompress the file with its original filename. Identifying: [email protected]:~/Downloads$ gzip datacenter-me.jpg [email protected]:~/Downloads$ gzip -l datacenter-me.jpg.gz compressed uncompressed ratio uncompressed_name 23386 23392 0.2% datacenter-me.jpg As you can see from the above the filename is stored in the gzip file.