The gzip tag has no wiki summary.
2
votes
2answers
48 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 ...
0
votes
0answers
14 views
Google Chrome Developer Tools data transfer size
In Google Chrome when using the Network Panel to monitor files being transfered from a site, the total size of the data transfered is given at the bottom of the list. Does this figure reflect the size ...
2
votes
3answers
34 views
gzip change file ownership
Here is a case i don't understand
i have a group 'bar', and this group has two users; 'foo' and 'bar'.
I have a test.txt file, 'foo' is the owner and 'bar' user only can read it.
However, if 'bar' ...
0
votes
1answer
23 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 ...
2
votes
4answers
69 views
Which archiving method is better for compressing text files on Linux?
In my application I need do compress of logs that are text files.
Seems that bzip2 and gzip have the same compression ratio.
Is that correct?
2
votes
2answers
63 views
Utility to cat/gunzip a list of files
Is there a commonly-installed Linux utility that will take a list of files and cat or gzip -d (==zcat) them based on whether the file is compressed?
An example of where I just needed this is when I ...
1
vote
2answers
47 views
Did gzip destroy my log file?
I had a rather big log file. So I thought I'd gzip it before trasfering it to my pc.
I did
gzip bla.log
which gave me a tiny
bla.log.gz
When I extract it using
gunzip bla.log.gz
I get back to ...
0
votes
2answers
63 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
89 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
1answer
77 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
147 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
2answers
25 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
328 views
Howto pipe: cp | tar | gzip without creating intermediary files?
Can anyone tell me if it's possible to pipe | this without having to create a physical file anywhere between A and B.tar.gz?
This is what I'm trying to do:
File A
Rename A to B
Tar B.tar
gzip -9 ...
0
votes
1answer
46 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 ...
1
vote
2answers
106 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
48 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 ...
1
vote
2answers
111 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 ...
1
vote
2answers
67 views
Unzipping a huge file stalls the server
I want to extract a huge .tar.gz file but when I do extract it stalls the server. The server is write heavy and extracting seems to choke the disk. Is there a nice way to extract without stopping the ...
19
votes
6answers
863 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
3answers
802 views
How to specify level of compression when using tar -zcvf?
I gzip directories very often at work. What I normally do is
tar -zcvf file.tar.gz /path/to/directory
Is there a way to specify the compression level here? I want to use the best compression ...
2
votes
1answer
41 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: ...
2
votes
2answers
385 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 ...
3
votes
3answers
992 views
How do I uncompress vmlinuz to vmlinux?
I have already tried uncompress, gzip, and all other solutions that come up as google results and these have not worked for me.
To get just the image search for the GZ signature - 1f 8b 08 00.
...
1
vote
2answers
71 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?
2
votes
2answers
267 views
How to know if a site is gzipped?
I am accessing some web sites which are really really slow, and I would like to know if those sites are gzipped. Is there an easy way to find this out?
2
votes
2answers
78 views
Control gzip compression rates while archiving files with tar?
I have a script which periodically backs up a directory using the command "tar -czvf [name] [directory]" but my problem is that the script has recently been putting a lot of stress on the server ...
3
votes
1answer
150 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
65 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 ...
4
votes
1answer
185 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: ...
2
votes
4answers
738 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
...
0
votes
0answers
25 views
repairing/rescuing data from a .tar /tarball that broke during making it
had to move several 100GB of html(jpg,txt,pdf) user files to a ftp backup server and put them in a tarball on the fly. Pitifully something aborted probably (I can’t completely reconstruct the ...
1
vote
2answers
330 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
418 views
How do I know the gzip compression level?
Given a gzip compressed file, how do I know what compression level (1-9) was used for it?
5
votes
4answers
1k views
How to gzip multiple files into one gz file?
I have 100 files: cvd1.txt cvd2.txt ... cvd100.txt
How to gzip 100 files into one .gz file so that after I gunzip it, I should have cvd1.txt, cvd2.txt ... cvd100.txt separately?
Thanks for your ...
0
votes
2answers
182 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.
2
votes
3answers
455 views
Is there away to mount a file.tar.bz2 without extracting onto your fs?
Is there away to mount a file.tar.bz2 without extracting?
I don't care if it is read only.
Hopefully your answer will also apply to file.tar.gz as well.
edit: "mount" in this context is meant to be ...
0
votes
1answer
164 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, ...
21
votes
4answers
1k 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
229 views
How to make sure a .tar.gz file is valid and will uncompress correctly?
I have a few BIG .tar.gz files, and I want to make sure they will uncompress, but without actually doing it.
If the file opens on "Archive Manager" on Ubuntu, and I can view it contents there, does ...
8
votes
5answers
2k views
Pros and cons of bzip vs gzip?
I've known gzip for years, recently I saw bzip being used at work. Are they basically equivalent, or are there significant pros and cons to one of them over the other?
1
vote
1answer
145 views
Join with gzipped files
I want to use the command line join utility on two files. Unfortunately, they're gzipped. Because they're both gzipped, I can't use gzip -cd. Is there a slick way to do this without having to unzip ...
1
vote
1answer
258 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
536 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 ...
0
votes
4answers
293 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
3answers
282 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.
1
vote
0answers
510 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 ...
2
votes
4answers
5k views
tar: Exiting with failure status due to previous errors
I have written a little script that tars and compresses a list of directories + files.
The script appears to run succesfully, in that a useable .tar.gz file is created after the script runs.
...
6
votes
2answers
5k views
How to password protect gzip files on the command line?
I want to create some tar.gz (and possibly tar.bz2) files, using the tar command on Ubuntu 10.04.
I want to password protect the file.
What is the command to do this (I have Googled, but found ...
2
votes
5answers
3k views
Command to 'gzip' a folder?
I am new to Mac command prompt stuff. How do you create a gzip of a folder in Mac OS X? I was told by a few folks that if you want to create a gzip of a folder you should 'tar' it first and then ...
1
vote
3answers
3k views
tar Cannot open: No such file or directory
Fresh install of CentOS 5.4
Downloaded the following:
http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz
MD5 sum is correct (cdcc09d71d85d81914a90413eaf21d3f). The file is located ...