All Questions
14
questions
0
votes
1
answer
294
views
how to send the decompressed output of archives to standard output?
When you decompress a gzip archive with gunzip without any arguments, the archive disappears, and you're left with the decompressed file in its place.
However, if you use the -c option, the archive ...
0
votes
1
answer
256
views
Compress and provide single-file access to 10 million files [closed]
I have ~10 million small text files and I would like to solve the following tasks:
compress all the data;
put it all into 1 file to transfer over the Internet;
be able to access each single file ...
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 ...
1
vote
2
answers
642
views
Compare compression: gzipping individual files vs. gzipping tar of same files
Consider a hypothetical archive format that does the following under the covers, given a list of files to pack:
gzip each file individually
Tar the gzips together
Contrast this with traditional tar ...
4
votes
2
answers
4k
views
Archive (.tar.gz) Corruption
I've got a .tar.gz archive that has definitely suffered some kind of corruption. The data inside the archive is obviously very precious to me and I'd really like to get my hands on as much as possible....
0
votes
0
answers
74
views
gzip archive with damaged begin
How to recover as much as possible gzip file content when begin of this file is damaged?
Is it possible? I tried commands gunzip -c , zcat, openssl zlib -d etc.
Unfortunately that commands doesn't ...
6
votes
2
answers
8k
views
Is Gzip supposed to honor original filename during decompress?
This question stems from a Crypto++ library question on Stack Overflow: How to add filename to archive if compressing using Gzip class?.
Gzip, as specified in RFC 1952 has an optional field for the ...
0
votes
1
answer
68
views
Removind same *.tar.gz archives
I have crontab event archives to .tar.gz some folder every N hours. Finally I have collection of .tar.gz files. Now I want remove duplicating archives (created while target files stays unchanged) How ...
0
votes
2
answers
4k
views
One-click to create and extract .tar.gz files in Windows?
I'm using 7-zip latest alpha version (9.30) and I find it really inconvenient that, if I want to create a .tar.gz archive, I have to create a .tar archive first then add it to a .gz archive later.
So ...
5
votes
3
answers
9k
views
Find out the size of a .tar.gz archive in the terminal without unpacking
I have a 32GB .tar.gz archive and I'd like to know the size of the files if I unpack this compressed archive. I'd like to avoid unpacking the archive first and than use e.g. du.
Is it also possible ...
27
votes
6
answers
9k
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
3
answers
2k
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 (...
7
votes
4
answers
1k
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 files....
2
votes
4
answers
4k
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 ...