Deutsch English Français Italiano |
<v4gdpu$cts$1@tncsrv09.home.tnetconsulting.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail From: Grant Taylor <gtaylor@tnetconsulting.net> Newsgroups: comp.os.linux.misc Subject: Re: Script to conditionally find and compress files recursively Date: Thu, 13 Jun 2024 22:35:26 -0500 Organization: TNet Consulting Message-ID: <v4gdpu$cts$1@tncsrv09.home.tnetconsulting.net> References: <v48s96$u6fg$1@dont-email.me> <v4b46s$7dh$1@tncsrv09.home.tnetconsulting.net> <wwvo7868waw.fsf@LkoBDZeT.terraraq.uk> <083d0e35-e02d-8668-726f-7aa89980e9b2@example.net> <v4dtih$23kjq$2@dont-email.me> <647f0226-265e-2757-bd2a-3aa89de38107@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 14 Jun 2024 03:35:26 -0000 (UTC) Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.11"; logging-data="13244"; mail-complaints-to="newsmaster@tnetconsulting.net" User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <647f0226-265e-2757-bd2a-3aa89de38107@example.net> Bytes: 1465 Lines: 15 On 6/13/24 04:55, D wrote: > perhaps have a little database that maps file type to compression algorithm case ${FILE##*.} in txt) #... ;; jpg|jpeg) # Jpeg ;; *) echo "unknown file type" ;; esac ;-)