Path: ...!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail From: Richard Kettlewell Newsgroups: comp.os.linux.misc Subject: Re: Script to conditionally find and compress files recursively Date: Wed, 12 Jun 2024 08:17:11 +0100 Organization: terraraq NNTP server Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6"; logging-data="49231"; mail-complaints-to="usenet@innmantic.terraraq.uk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:oF/uCnMFUHnl1ia3hSXpSchuvrc= X-Face: h[Hh-7npe<v9!1Z&W?r\c.!4DXH5PWpga"ha +r0NzP?vnz:e/knOY)PI- X-Boydie: NO Bytes: 1652 Lines: 12 Grant Taylor writes: > On 6/11/24 01:53, J Newman wrote: >> Any suggestions on how to proceed? > > As others have said, it's very difficult to tell within the first five > seconds what the ultimate compression ratio will be. Not just difficult but impossible in general: the input file could change character in its second half, switching the overall result from that that is (for example) a gzip win to an xz win. -- https://www.greenend.org.uk/rjk/