[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Decompressing any file
From: |
Eric Blake |
Subject: |
Re: Decompressing any file |
Date: |
Mon, 14 Feb 2011 10:41:45 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 02/14/2011 06:07 AM, Ole Tange wrote:
> Hi.
>
> My users use a lot of different compression programs. They cannot
> remember which tool to use to decompress and print to stdout for each
> of the programs.
>
> For gzip it is zcat, for bzip2 it is bzcat, for 7z it is 7z x -so, for
> zip it is unzip -qc and so on.
>
> So I have made a small program called zzcat that will use file and
> lzmainfo to determine the filetype. Then it will call the right
> command to get the stuff on stdout.
>
> I hope you will include it in gzip.
Sounds like you are duplicating the zutils project; read this thread:
http://thread.gmane.org/gmane.comp.gnu.gzip.bugs/284
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature