Subject: RE: bug#32867: -k Option Not Recognized

From: "Goyhberg, Konstantin (CTR)" <[email-masked]>
Date: Fri, 28 Sep 2018 19:05:07 +0000

Thank you

-----Original Message-----
From: Mark Adler [mailto:[email-masked]] 
Sent: Friday, September 28, 2018 2:56 PM
To: Contee, Keisha R (CTR) <[email-masked]>
Cc: [email-masked]; Goyhberg, Konstantin (CTR) <[email-masked]>
Subject: Re: bug#32867: -k Option Not Recognized

-k (—keep) was added in version 1.6.

You can pipe the output to keep the original. E.g.

    gzip -c something.txt > something.txt.gz

or similarly decompressing:

    gzip -dc something.txt.gz > something.txt

> On Sep 28, 2018, at 11:46 AM, Contee, Keisha R (CTR) <[email-masked]> wrote:
> 
> Hello Support,
> 
> The command gzip -k filename is not recognized on my RHEL 7 virtual machine. I am using gzip version 1.5.
> I am able to use gzip filename with success. In addition, -k is not listed as an option in -help, but it is listed in your documentation as a way to keep the original file. Is there a way to zip a file but still keep the original file?
> 
> Your help is appreciated!
> 
> Thank you.
> 
> Keisha Contee
> Knight Point Systems, BI Engineer
> Office of the Chief Information Officer U.S. Immigration and Customs 
> Enforcement Department of Homeland Security Primary Phone: 
> 202-340-9965
> Email: 
> [email-masked]<mailto:keisha.r.contee@associat
> es.ice.dhs.gov> Please route remedy tickets to: Engineering / 
> Application Services Branch / ASB - Applications
>