Questions tagged [gunzip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
160 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
551 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
499 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
1answer
7k 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
2answers
164 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....
0
votes
1answer
81 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
0answers
20 views

Shell script to zcat and gunzip multiple files

I have the following files SiteTraffic_1141875176444311430_20191120.json.gz0000.gz SiteTraffic_1141875176444311430_20191120.json.gz0001.gz SiteTraffic_1141875176444311430_20191120.json.gz0002.gz ...
0
votes
0answers
40 views

corrupt tar.gz archive

I'm new here and I want to ask something maybe you can help me. I wanted to service my NAS and I had to download all the data that I had on it, so what I did is downloaded whole data trough webbrowser ...
0
votes
0answers
826 views

UNZIP: Cannot find or open filename.zip Error

I have a zipped file (using Winrar) and the size of it is more than 4GB from Windows 10. I've already dumped the file in Unix Server and I want to unzip the file but the error always shows: Code: ...
0
votes
1answer
602 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 ...
0
votes
3answers
49 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
votes
2answers
76 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 ...