bug-gzip
[Top][All Lists]
Advanced

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

Re: gzip directory


From: Paul Eggert
Subject: Re: gzip directory
Date: Tue, 06 Jul 2010 09:23:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5

On 07/06/10 01:14, João Matos wrote:
> hi!
> 
> this is not a bug, but i could not find any other way to ask for help.
> 
> i created a .gz from a directory using gzip, like:
> 
> gzip -cvr --no-name /path-to-directory/new > new.gz
> after unzip the result is a single file
> is it possible to recover it?

You can recover the concatenated contents of the files with gzip -d,
and you can recover the boundaries between the files
by decoding the output binary stream yourself
(please see Internet RFC 1952), separating each member
out, and then applying gzip -d separately to each member.

The names of the files are lost, though, since you specified --no-name.



reply via email to

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