|
Your solution is perfectly OK, but note that gzip does absolutley nothing beyond compress (which, of course, includes a bit of metadata to identify that it is a gzip compressed file), and gunzip returns the bit identical input file and deletes the archive by default (the -k option keeps the archive after decompression) .
|