Skip to main content

Questions tagged [gzip]

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

48 questions with no upvoted or accepted answers
5 votes
0 answers
2k views

What is the difference in gzip compression levels?

Have been using gzip for a few years and usually I always gzip -9 out of habit as it is the highest level of compression. I understand that lower levels means less compression but quicker compress ...
IT_User's user avatar
  • 151
4 votes
1 answer
1k views

Unzipping files downloaded from the Arxiv server

I want to download the source Tex files (not the pdf) of this document: http://arxiv.org/abs/1306.0322 After downloading here, I get a weird file with the ".0322v3" (the second part of the doc code) ...
andandandand's user avatar
2 votes
0 answers
1k views

Why is my .tar.gz larger than the sum of the separately compressed files in it?

I observed the following situation which is somewhat unexpected to me: I have a csv file and a corresponding txt file. Uncompressed, their sizes are 375MB and 5KB. When I compress the csv file ...
der_grund's user avatar
  • 121
2 votes
1 answer
2k views

simple way to extract tar.gz in-place with no hard-drive overhead

I'm working with a tar.gz file (196 GB). This file needs to be extracted (240 GB) in place, and I would like the total disk usage not to go over 240 GB during the process (or close to it as possible). ...
chub500's user avatar
  • 121
2 votes
2 answers
511 views

Optimizing gzipped files for block-level deduplication

I have about 100TiB of compressed gzip data on cloud volumes. On my way to run a block-level dedup (duperemove for btrfs) I find that it was compressed without -n, which causes block-level difference ...
Ira's user avatar
  • 323
1 vote
1 answer
480 views

dd + gz = Even Worse /// Mount Valid Partition of Whole-Disk dd Image

I've got a 250G backup of a whole disk via dd, which was then piped to gz, thanks to the advice of one of my -genius- friends. Looks like the EFI boot partition was corrupted (pretty sure it's an ...
numonium's user avatar
1 vote
0 answers
318 views

gzip -d introduces wrong ASCII characters

I am struggling with the following command: gzip -d /path/to/compressed.sql.gz I always run it inside a container from the same Docker image. It works fine on my laptop as well as in our production ...
hlfernandez's user avatar
1 vote
1 answer
2k views

Transfer a directory over ssh with sudo

I am trying to transfer a directory from a remote server(CentOS) to my local machine(Ubuntu) over ssh. There are two users : A and B. User A can ssh into remote server and has sudo access. User B owns ...
Saurabh P Bhandari's user avatar
1 vote
0 answers
338 views

"gzip --version" gives "Abort trap: 6" in macOS

I found that doing gzip --version in the terminal on my Mac just gives output Abort trap: 6. I came across this because it appears to cause another program to exit when it searches for the installed ...
PeterW's user avatar
  • 111
1 vote
1 answer
718 views

How to enable Opencl for gzip?

gzip is a widely used lossless compression program. I have installed gzip and the version is as follows gzip 1.2.4 (18 Aug 93) Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H How to ...
Vanns's user avatar
  • 187
1 vote
1 answer
2k views

How can I restore a MySql database dump direct from S3?

I have a gzipped database backup stored on S3 and would like to restore it to MySql without having to first download it due to disk space constraints. I tried the two commands below but got gzip: ...
KalenGi's user avatar
  • 147
1 vote
0 answers
815 views

Gzip'd tar archive Spanning Multiple Disks

Very similar to (How to create tar archive split into, or spanning, multiple files?), but specifically I would like to simultaneously: tar and compress a 10 tb directory, having insufficient local ...
Joebocop's user avatar
  • 123
1 vote
0 answers
65 views

Simultaneously enable gzip and $STR_REPLACE in CGI in apache

I have a code in my CGI script for text replacement (for example replace 'red' with 'blue') $STR_SEARCH='red' $STR_REPLACE='blue' I am using the below code in .htaccess for enable replace function: ...
alex body's user avatar
1 vote
0 answers
105 views

GZIP file system code for Linux?

GZIP allows one to use file system codes. See page 7 of RFC 1952. What is (are?) the GZIP file system code(s) to use for Linux?
jww's user avatar
  • 12.3k
1 vote
0 answers
98 views

canot restore disk image with dd (target part filled with zero)

I have a RAID0 disk before, now I want change the size of it. From the manual, the only way is backup data, delete RAID, re-create with new size, and restore data. now I have many old 2.5" hdd, each ...
GongT's user avatar
  • 43

15 30 50 per page