`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

1
vote
1answer
98 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 ...
-3
votes
1answer
2k views

.tar file to excel conversion [closed]

Hi i was requested to convert a file by one of my client.I need to convert a .tar file to a ms excel. I gave the below steps to them but some of the fields in the content are missing. Please suggest ...
2
votes
1answer
130 views

Difference between caching & gzip for static pages

I have implemented all caching methods such as, memcache, diskcache, and also tried GZIP. Is there any source I can refer to which explains the difference between them. I tried memcache it is really ...
12
votes
5answers
6k views

Fastest GZIP utility

I'm looking for the fastest gzip (or zip) utility. I have a LVM volume which 95% exists out of blank 0's, so compressing that is very easy. I'm looking for the most fastest solution, and don't really ...
0
votes
1answer
921 views

How to gzip more than one file using cygwin [duplicate]

Possible Duplicate: How to gzip multiple files into one gz file? I am trying to gzip a bunch of files in the same folder using cgywin on windows 7. When I try gzip *.* I can't seem to ...
12
votes
5answers
8k views

SVN directly to tar

Is there a way to directly tar the latest version of an SVN folder without the SVN hidden files? I would like to create a tar archive without the SVN files. I know you can get the latest with the SVN ...
1
vote
5answers
2k views

Any method to batch-compress multiple files?

Does anyone know how multiple files can be GZIP compressed? I have lots of files in a folder and I need to compress them individually. Actually, I've found a way to do it. GZIP command line binary ...
2
votes
2answers
172 views

Modern command line file compression utilities

I am frequently moving large files around from server to server. UNIXes comes with standard gzip and bzip2 compressors. However, what open options there exist beyond these, especially ones utilizing ...
4
votes
1answer
543 views

Decompressing these .gz files gives strange/unexpected results, can you get it working?

I have a collection of mailing list archive files all gzip'd, they're in a nested directory structure that starts with what appears to be a blank folder/jargon name. The files are here: ...
0
votes
1answer
331 views

Weird GZip / Disk space issue

I'm working on a server which is using PCI Compliant partitioning rules, which means that each of the following directories has its own partition: /, /var, /boot, /usr, /tmp and /home. The server is ...
22
votes
6answers
3k views

How can I evaluate the best choice of archive format for compressing files?

In general, I've observed the following: Linux-y files or tools use bzip2 or gzip for distributing archives Windows-y files or tools use ZIP for distributing archives Many people use 7-Zip for ...
3
votes
1answer
1k views

gzip - Extracting without deleting zip file

Right now I am running an extract from a .gz file using the Windows gzip.exe. However when I decompress the file, it kills the .gz file and leaves me with the extract file. For example if I run this ...
0
votes
2answers
425 views

Gnuplotting gzipped files

I would like to use a command like plot 'datafile.gz' u 1:2 in gnuplot for a data file that is gzipped. Of course gnuplot does see that the file is gzipped and unzip it for me. Is there a way to ...
2
votes
2answers
810 views

Is it more efficient to rsync uncompressed text data or the same data gzipped?

Rsync only copies over the changed parts of a file. So if I have a large data dump, for example a SQL database in text format, and I want to copy it to my local machine using as little bandwidth as ...
1
vote
2answers
1k views

Split a large .gz file and gzip each of split file?

I have a large text.gz file (2GB) and I want to split it by line. I tried to use: zcat text.gz | split -l1000000 However this generated a huge file (around 92GB before I terminated it) and put too ...
0
votes
2answers
4k views

How to delete a tar file after I gzip it?

I am creating a tar file and then I am gzipping the tar file. So I am getting a .tgz file and now I want to delete the previous tar file. ${gzipExe} -f --rsyncable $tarname.TAR --stdout >> ...
1
vote
2answers
802 views

Excluding Path While Compressing with TAR/GZ

I am compressing list of files like this: tar cvzf mycompress.tar.gz /dir1/dir2/file1.txt /dir1/dir2/file2.txt However when I uncompressed them the directory /dir1/dir2/ is still preserved. How to ...
0
votes
1answer
529 views

Merge tar files in Windows Server

In my server(windows server) I have 3 tar files. (file.tar, file.tar-2, file.tar-3). I want to merge those files. (Those are generated by some server tool). So I am looking for a tool to merge ...
0
votes
2answers
5k views

How can I compress a large file into smaller parts?

I'm looking for a way to compress a large file (~10GB) into several files that wont exceed 150MB each. Any thoughts?
1
vote
3answers
883 views

Linux Command line: recursively overwriting every file with a gzipped version?

______________ myFolder What can I replace with _____ to recursively gzip every file starting at myFolder and have the gzip be overwrite the file (rename the gzip file to the original filename)?
1
vote
2answers
2k views

GREP and TAR all files/directories matching X

I would like to find and gzip/tarball contents of all the folders matching wordpress in my directory, but I am having trouble trying to get the command to work, I thought it was something like find ...
2
votes
1answer
86 views

Which is better: using flags, or pipes?

As with many things in the *nix world, there is more than one way to generate .tar.gz files. Typically, I use the following: tar zcf /path/to/dir.tar.gz /path/to/dir However, I have seen the ...
3
votes
2answers
7k views

How to GZIP all the files or a list of files from some path?

I know that gzip compress a file, but I would want to know. How to compress a list of files, each file in their own GZIP file ? I need to use the list of a folder: ls log.2011 And for each file ...
2
votes
1answer
98 views

My internet connection doesn't send the Accept-Encoding header

Whatever computer is connected to that network (router is Netgear DGN2200) and whatever program sends a http request, servers never get the Accept-Encoding header from me. For example, if I go here: ...
5
votes
2answers
7k views

What is the fastest compression method for a large number of files?

I need to compress a directory with around 350,000 fairly small files that amount to about 100GB total. I am using OSX and am currently using the standard "Compress" tool that converts this directory ...
2
votes
2answers
1k views

can gunzip work on file without a suffix?

Is there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?
3
votes
1answer
2k views

Critical gzip mistake (HELP!) - how to undo 'gzip -r ./'

So I was hoping to make a gzipped backup of my entire directory stucture, but I was very stupid and issued the command 'gzip -r ./' hoping to add all files and folders to a single gzip archive. This ...
3
votes
2answers
193 views

What type of data is compressed more effectively by bzip2 than gzip/zlib?

I'm comparing compression functions, and I'm surprised by what I'm seing. Maybe I'm doing something wrong, but everything I've tested has been more compressed by gzip than bzip2! I was under the ...
7
votes
4answers
19k views

Unexpected end of file. Gzip compressed file

I am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz ...
29
votes
4answers
6k views

gzip without tar? Why are they used together?

Why are tar and gzip almost always used together, and not just gzip? Is there any advantage to that method?
0
votes
2answers
2k views

uncompress gzipped encrypted file

I have got a backfile with extension .tar.gz.enc. After fooling around I found out that it is encrypted gzipped tarball. Now I want know how to decrypt it.
0
votes
1answer
754 views

With which command should I open .raw.gz files?

I have a bunch of .raw.gz files which are data files streamed from twitter with JSON interface. I am wondering which command should I use on my Mac OSX to open (unzip) these files? I have tried tar, ...
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 ...
12
votes
1answer
15k views

How to list the contents of a zip along w/ file sizes and compression ratio via cmd line

How do I list the contents of a zip along w/ file sizes and compression ratio (or packed size) on osx w/ command line tools?
0
votes
2answers
1k views

Help on writing Linux script to backup and ftp files to another server

I am using MySQL as the database system for my application on a Linux system. Every week I update the system and take backups (mysqldump) of the databases changed (2 databases). I then .tar.gz them ...
-1
votes
3answers
9k views

How to remove gzip from Linux

I tried sudo aptitude remove gzip and it looked like it uninstalled but when I typed gzip at the terminal it still ran.
7
votes
4answers
596 views

Tar and gzip together, but the other way round?

Gzipping a tar file as whole is drop dead easy and even implemented as option inside tar. So far, so good. However, from an archiver's point of view, it would be better to tar the gzipped single ...
0
votes
1answer
588 views

Binaries for gnu tar and gnu gzip

I would like to know where i can download the binaries for gnu tar and gnu gzip for various platforms ( aix64, hp64, hpia64, intel, linia32, linia64, linx64, solus64, solx64, winx64) Thanks,
4
votes
1answer
1k views

Does Linux GZip Zip the File in Place or create a new file

I have a 1.5TB size text file that I need to gzip down, the current drive it is on has little to no space left. I have another drive with 400G left on it. My question is, if I gzip the file, will it ...
1
vote
3answers
2k views

How to decompress the *.TGZ file without changing the orginal file? [duplicate]

Possible Duplicate: How do you gunzip a file and keep the .gz file ? I decompress the file using following command: gunzip -f test.TGZ This gave me test.tar file but I lost the test.TGZ ...
2
votes
2answers
1k views

How do I tar/gzip and then delete directories somewhat safely?

How should I tar/gzip and delete files somewhat safely? Background: We're running a little low on disk space on a Ubuntu computer (Hardy Heron), and I want to tar/gzip, verify that it worked, and ...
3
votes
1answer
7k views

What can be used to 'gzip' in Windows?

gzipped files are awesome! they are the best compressed files I know, .rar and .zip are nowhere near , if you compare the compression ratios... Generally I use Windows, does anyone know how can I ...
1
vote
3answers
2k views

programmatically extract tar.gz in a single step (on windows with 7zip)

PROBLEM: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: stackoverflow question for tar-gz. My question is almost the same, but ...
6
votes
7answers
733 views

Moving files in a local network - would compressing improve speed?

I am moving some 20Gb within my local network (100 Mbit/sec). The files are from a typical Linux desktop system. Would compressing them using Tar\Gzip and then sending them improve performance? ...