[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gzip: add "--keep" option to keep original files unchanged

From: Rodrigo Campos
Subject: Re: gzip: add "--keep" option to keep original files unchanged
Date: Sun, 10 Feb 2013 12:41:41 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Feb 09, 2013 at 12:47:28PM -0800, Paul Eggert wrote:
> On 02/09/2013 07:21 AM, Rodrigo Campos wrote:
> > This path just adds the "--keep" option to keep original files unchanged.
> Could you please explain why that option would be helpful?

Right now for me is useful because I'm using gzip to compress css and js files.
But I need to keep the original files for some cases where compressed files
can't be used.

I can workaround it in many ways (changing the ownership and checking the exit
status == 2 -though not perfect because there can be other warnings-, compress
and regenerate the files again, etc.), but it's always a workaround. What I need
is to compress and keep the original files.

> It's not clear, from the patch.

Yes, sorry I didn't mention. My bad. Is this use case valid enough to accept
the patch ?

Thanks a lot,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]