`gzip` (or GNU zip) is a file format and corresponding utility for compressing files using the DEFLATE algorithm. The usual extension is `.gz`.

learn more… | top users | synonyms

0
votes
4answers
1k views

Firefox, saving all images from every page so that they are retrievable?

I'm having a bit of trouble finding a way to do this, I know that firefox saves images to a cache file but it is in a gzip archive file that I am unable to unzip (just gives error when I try, I'm ...
0
votes
2answers
76 views

Extract a section of a tgz file

I have a 28.5 GB .tgz file which was created on the command line of a Linux computer, compressing one folder and all its many many subfolders. I now want to extract a single sub-sub folder from that ...
2
votes
1answer
1k views

How can I get the uncompressed size of gzip file without actually decompressing it?

Please find my OS details: $ uname -a AIX xxyy 1 6 000145364C00 I've tried the following command to get size of a file in gzip archive: $ gzip -l mycontent.DAT.Gz compressed uncompr. ratio ...
1
vote
1answer
93 views

Guess compressability of a large file

I have a large file (~20 GB) and I want to quickly make an (approximate) estimate of how well it can compress. I want an program which can provide an immediate guess at the compressed filesize, and ...
0
votes
1answer
31 views

Concatenate header of one file with tail of another

I have a large gzipped mysqldump file which contains some table definitions and then many insert statements. I'd like to edit the table definitions but leave the insert statements alone. The file is ...
0
votes
1answer
34 views

Removind same *.tar.gz archives

I have crontab event archives to .tar.gz some folder every N hours. Finally I have collection of .tar.gz files. Now I want remove duplicating archives (created while target files stays unchanged) How ...
0
votes
1answer
597 views

One-click to create and extract .tar.gz files in Windows?

I'm using 7-zip latest alpha version (9.30) and I find it really inconvenient that, if I want to create a .tar.gz archive, I have to create a .tar archive first then add it to a .gz archive later. So ...
0
votes
1answer
397 views

pfSense iso.gz doesn't seem to be a compressed iso image

I downloaded the latest pfSense ISO (pfSense-2.0.1-RELEASE-i386.iso.gz) and had 7zip extract it, but it just shows me the disk contents. I cannot extract the actual ISO file to burn it with the boot ...
1
vote
0answers
1k views

Repair tar.gz files with a GUI

I have been downloading back ups from my web hosts cpanel on a weekly basis. The back ups are in tar.gz format. However, when I try to extract them, I get an error message stating that they are ...
0
votes
0answers
22 views

List contents of zip archive via stdin

Is there a "magic" way to list the contents of a Zip archive piped in via stdin? For instance: $ some_process_sending_files_in_one_zip_stream_to_stdout | gunzip -l - ... listing of files ... When ...
0
votes
0answers
33 views

GZIP corruption with big files?

I came across a weird behavior: gzip v1.5 - Fedora r18 A file -rwxrwxrwx. 1 root root 3892576256 Apr 28 11:29 vm.qcow2 Initial checksum: md5sum vm.qow2 954c5461468d68daed3cef6a7b66bd8f vm.qcow2 ...
0
votes
0answers
67 views

Error uncompressing file when piping curl to gunzip

I need to download a gzipped xml feed to parse in my Ruby app. It may well be quite large, 30Mb compressed, 300Mb uncompressed. So I do this: curl -s http://example.com/file.xml.gz | gunzip and read ...
0
votes
0answers
9 views

Maximum Gzip Output Increase

I am wondering what the maximum gzip output size is given an incompressible file. Basically, what is the worst case scenario for gzip? When an incompressible file is compressed with gzip, it grows ...
0
votes
0answers
113 views

Caveats with gzip --rsyncable - no speedup

I am using (trying) gzip to compress an SQL file in an rsyncable way in order to transfer the backup with minimal delay. However it appears that this is not working, since the speedup is always 1.00. ...
0
votes
0answers
35 views

Gzip, firmware problems

I am trying to unpackage firmware. The file command gives me this. gzip compressed data, ASCII, has CRC, extra field gzip -d gzip.gz gives this. gzip: gzip.gz has flags 0xcf -- not supported Any ...
0
votes
0answers
28 views

Is there an older version of gzip that returns different/larger outputs?

I don't know how else to phrase this question, but I stumbled upon a file which I know from the header is gzipped (1F8B0800) but I am unable to recreate the file no matter what I try (including gzip ...
0
votes
0answers
215 views

Is it possible to recover partial compressed files?

Of the most popular compression methods (7z, RAR, Zip, GZip) is there any of them that allows to retrieve the uncompressed data from a partial file? Imagine there is only one compressed file, and it ...