Questions tagged [gzip]
A data compression program. Originally a GNU utility it has been cloned by most Unix variants.
390 questions
0 votes
0 answers
20 views
initramfs images gzip compressed on Oracle Linux 8 UEK6 systems but not UEK7
I'm troubleshooting /boot usage differences between Oracle Linux 8 systems that use different UEK kernel streams. On some hosts, the initramfs images are gzip-compressed, while others produce ...
1 vote
1 answer
207 views
Parallel processing of single huge .bz2 or .gz file
I would like to use GNU Parallel to process a huge .gz or .bz2 file. I know I can do: bzcat huge.bz2 | parallel --pipe ... But it would be nice if there was a way similar to --pipe-part that can read ...
2 votes
2 answers
121 views
Recovery of a compressed image not possible due to lack of Space - general understanding of compression methods
I used gzip to compress an image which is quite huge still. dd if=/dev/sda2 bs=1M | gzip -c -9 > sda2.dd.img.gz then I changed the partitioning of the Drive because I wanted to install Linux. And ...
0 votes
0 answers
107 views
tar extracted file with bad output
I tarred one file with: tar cf My-tarball.tar path/to/file.txt Then compressed it: gzip My-tarball.tar But when i decompress it and extract it gunzip My-tarball.tar.gz tar -xf My-tarball.tar the ...
1 vote
1 answer
96 views
Recover mis-gzipped folder / directory & files
I needed to compress/archive a folder, so I ran the following command: gzip -v --rsyncable --fast -r myFolder/ -c > myFolderArchive.gz ...foolishly thinking this was going to do just what I ...
1 vote
0 answers
34 views
Extract and merge multipe tar gz [duplicate]
I have multiple tar.gz archives, the size of each archive is approximately 40 GB: v1.0-trainval01_blobs.tgz v1.0-trainval01_blobs.tgz ... v1.0-trainval10_blobs.tgz I can unpack each archive and get ...
2 votes
3 answers
381 views
Find positions of keyword in GZ'ipped file
I'm trying to identify parts of a MySQL DB that take most space in GZipped dumps that I need to frequently save and restore so that I can archive some tables partially. I have a suspicion that ...
0 votes
1 answer
102 views
Is it possible to compress a tar ball with gzip/bzip2/xz after tar ball file has been created?
If we create a tar ball file by giving the following command tar -cvf Docs.tar $HOME/Documents/* then post creation of the tar ball is it possible to use gzip or bzip2 or xz or some other compression ...
0 votes
1 answer
173 views
"Permission denied" error when using sudo for writing image to /dev/sdb on Debian [duplicate]
I am confused as to why I am getting the following error: $ sudo zcat firmware.A20-OLinuXino-Lime2.img.gz partition.img.gz > /dev/sdb bash: /dev/sdb: Permission denied Shouldn't sudo be able to ...
1 vote
0 answers
230 views
Recoverably recompress gzip files into zstd, preserving original checksums?
I need to archive a lot of gzip-compressed data. The problem is that compared to zstd, gzip is wasteful, both in terms of ratio and CPU time required to decompress the data. Because of that, I want to ...
0 votes
2 answers
335 views
tar: ./.tar.gz: file changed as we read it | "Flagged" files are unrelated to the file tar is supposed to operate on
I am trying to use tar to recursively compress all files with the .lammpstrj extension within the directory tree starting at the directory whose path is stored in the variable home. home contains the ...
0 votes
2 answers
260 views
extending recursive find to .tar, tar.gz, tar.bz2, and tar.xz on Debian 12
Continuing find a file within a tar.gz archive, how is it possible to automatically recursively search for files with given names, including the files inside the archives and compressed archives? For ...
0 votes
1 answer
215 views
How to verify size of pigz (parallel gzip) archive contents? [duplicate]
I created some pigz (parallel gzip) - home page - compressed archives of my SSD disk drives. (compiled version 2.8) I called one of them 4TB-SATA-disk--Windows10--2024-Jan-21.img.gz which says the ...
2 votes
4 answers
280 views
awk appends column in .gz file as seen with cat -A, but changes column name in regular output
Using awk, to this table I want to add a column where first row is "INFO" and rest of the rows are all "1". $ gunzip -c foo.gz | head SNPID CHR BP Allele1 Allele2 Freq1 Effect ...
1 vote
0 answers
984 views
telegram-desktop: qt.svg: Error while inflating gzip file: SVG format check failed
I use telegram-desktop on arch linux in sway. It sometimes crashes, so I started it from terminal. This way I find out telegram spams this message: qt.svg: Error while inflating gzip file: SVG format ...