All Questions
Tagged with gzip compression
64
questions
0
votes
0
answers
954
views
Windows tar compress command doesnt appear to include subdirectories
I am trying to compress all files and folders in the current folder (on my Windows 10 environment) so I can extract them on my Raspbian environment. Im using a Powershell script with the tar command
...
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 ...
0
votes
0
answers
1k
views
Unable to decompress file with gzip
I have a file called myfile.dat.gz that I need to decompress. I have been trying gzip -d myfile.dat.gz, but this results in the error gzip: myfile.dat.gz: invalid compressed data--format violated.
...
1
vote
1
answer
447
views
recompressing .gz and .bz2 files to attain the same hash/checksum (mod timestamps?)
i want to duplicate the entire contents of wikimedia's dumps, monthly, and upload them to amazon glacier and/or tape backup and/or a third backup medium that can survive corporation collapse/...
0
votes
1
answer
4k
views
How can I count the number of files inside a tar.gz file (don't want to decompress)
I have a tar.gz file (neatly 1TB size). I want to count the number of files inside this tar.gz file. I used the following command
tar -tzf file.tar.gz
but it only lists the file name while I need the ...
2
votes
1
answer
1k
views
How to make Dovecot maildir format emails be gziped using zlib
I activate compression plugin by set following on Dovecot:
# /etc/dovecot/conf.d/20-imap.conf
(...)
protocol imap {
mail_plugins = $mail_plugins zlib
}
# /etc/dovecot/conf.d/90-plugin.conf
(...)
...
0
votes
0
answers
540
views
gz file corrupted while transfer
I have huge gz files generated in linux machines and everyday night there is a script running to move files to remote network storage which is also linux host with terabytes data. The problem is, I am ...
0
votes
2
answers
1k
views
How to restore the original file.gz after running a gunzip -f file.gz?
The default behavior of gunzip is to delete the .gz file after it decompresses.
There's a way to restore the original file from the decompressed version on Mac OS?
2
votes
1
answer
4k
views
How do modern browsers deflate .tar.gz files?
Assuming the server is set up correctly, modern browsers are able to automatically decompress .gzip files when they are downloaded. Is the same true for a .tar.gz file?
For example, say you have an ...
1
vote
1
answer
840
views
Why does gzip -c give different results than gzip?
I am writing unit tests for some code and found that a simple gzip is causing a difference in my results. Upon further investigation I found that gzip gives a different .gz file than gzip -c does. Why ...
0
votes
0
answers
404
views
How to view specific path inside tar.gz?
tar -tf file.tar.gz let's me view inside the whole archive. How do you view a specific path without viewing the whole thing? E.g., I want to view only /path/foo/
Update:
This command almost works ...
0
votes
1
answer
279
views
MNIST Dataset - .gz files do not contain "raw" bytes
I am trying to use the MNIST dataset. However, when I download the .gz image file and then unzip it, I get a lot of "compressed" bytes. Here's a bit of it:
'Tπüó<$fi˛˛˛˛Ò∆∆∆∆∆∆∆∆™4CrHr£„˛·˛˛˛˙²˛...
21
votes
2
answers
57k
views
"gzip: stdin has more than one entry--rest ignored" and "gzip: tmp.gz has more than one entry -- unchanged"
I have a certain file named tmp.gz. When I try to decompress it using gzip -d, I get an error-message that it has multiple entries:
$ gzip -d tmp.gz
gzip: tmp.gz has more than one entry -- unchanged
...
3
votes
2
answers
4k
views
Md5 checksum different after gunzip and gzip
I accidentally deleted a handful of gzipped files from a folder. Thankfully, I had uncompressed them in a different location, and am in the process of restoring them. I had the md5 checksums for the ...
1
vote
2
answers
14k
views
Fast compression in 7z format (like zip or gzip)
In short: can the Deflate compression be used only with the zip format (-tzip) in 7zip?
I want to archive a big directory (hundreds GiB) from a disk to another, while keeping I/O speed the same or ...