Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gunzip]

The tag has no usage guidance.

0
votes
1answer
53 views

Unzipping the parent directory contents ignoring sub-directory and their contents

I am unzipping the .zip file. I'm able to do so but my requirement to extract only the parent folder data ignoring any sub directory and their contents. Below is the name format of zip file. ...
0
votes
1answer
96 views

tar + compress folder to tar.gz and removed the folder

by the following way we tar the folder presto-server-0.210 to file tar -czvf presto-server-archive.tar.gz presto-server-0.210 so after we tar the folder , folder still exists is it possible to use ...
-1
votes
2answers
47 views

gunzip on all present files safety regarding memory

I want to look for the presence of a string on all gziped files on server. I am afraid if I run something like gunzip -c *.gz | grep "string to be searched" server get overloaded with cache for ...
4
votes
1answer
145 views

gunzip on Embedded machine

I'm using BusyBox 1.24.1 on my Embedded Linux machine (with kernel v3.10.31) and I get behavior I can't understand when unzipping files.  The gunzip command (often, but not always) fails, with no ...
3
votes
1answer
338 views

How to maintain sort order with xargs and gunzip

I'm attempting to extract the contents of some files by alphabetical (which in this case also means date and iteration) order and when I test the process first with ls: $ find /opt/minecraft/wonders/...
1
vote
1answer
4k views

Unzipping a .gz file to get a text file but getting a binary file? [closed]

I have a .gz file called document.txt.gz file. It is supposed to be a text file which got compressed to a gzip file. When I uncompress, I am getting a corrupt file. I ran the following commands: $ ...
0
votes
3answers
45 views

Process a text file and a gunzipped text file in single command [duplicate]

I have a use-case to process following file types: 1 - mylog_1.log 2 - mylog_2.log.gz I have to run two different text processing commands on each of them as follows: cat mylog_1.log | grep text | ...
1
vote
1answer
397 views

how to list content of zip file

I created a zip file which was very large in size, I then split the main zip into chunks of 3GB. I used the command zip test.zip --out new_test.zip -s 3300m which resulted into 3 files test.zip ...
1
vote
0answers
387 views

extract only one file from .gz archive [closed]

I have backup Image backup_image.img.gz which is 250gb I would like to extract only 1 file which is /etc/csf/csf.conf from this .gz file. I would like also to keep backup_image.img.gz. I used this ...
0
votes
2answers
133 views

gunzip and create directories following the name of the zip file

I have the following gzip file: hdf5-1.8.18.tar.gz. When I unzip the file with the following command: gunzip < hdf5-1.8.18.tar.gz | tar xf - It unzips into the created following directory: hdf5-1....