[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,
Rodrigo
- gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/09
- [PATCH] gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/09
- Re: gzip: add "--keep" option to keep original files unchanged, Paul Eggert, 2013/02/09
- Re: gzip: add "--keep" option to keep original files unchanged, Antonio Diaz Diaz, 2013/02/09
- Re: gzip: add "--keep" option to keep original files unchanged,
Rodrigo Campos <=
- Re: gzip: add "--keep" option to keep original files unchanged, Paul Eggert, 2013/02/10
- Re: gzip: add "--keep" option to keep original files unchanged, Eric Blake, 2013/02/11
- Re: gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/11
- Re: gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/12
- Re: gzip: add "--keep" option to keep original files unchanged, Paul Eggert, 2013/02/12
- Re: gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/12
- Re: gzip: add "--keep" option to keep original files unchanged, Bob Proulx, 2013/02/12
- Re: gzip: add "--keep" option to keep original files unchanged, Rodrigo Campos, 2013/02/12
- [PATCH v2] gzip: add "--keep" option to keep (don't delete) input files, Rodrigo Campos, 2013/02/12
- [PATCH v3] gzip: add "--keep" option to keep (don't delete) input files, Rodrigo Campos, 2013/02/12