Skip to main content

All Questions

Tagged with
0 votes
1 answer
598 views

gzip: CHARTEVENTS.csv.gz: not in gzip format

I'm trying to expand a file named CHARTEVENTS.csv.gz by using guzip CHARTEVENTS.csv.gz , but always I have this error gzip: CHARTEVENTS.csv.gz: not in gzip format . can any one tell me what is the ...
el abed houssem's user avatar
0 votes
1 answer
1k views

Extracting a file in solaris

I'm try to extract a file in solaris to a folder. I have tried following combinations but no luck. gunzip -c jdk-8u211-solaris-sparcv9.tar.gz > /opt/java/jdk8.2.11 I'm getting a is directory ...
BoomRamada's user avatar
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?
SuperAtic's user avatar
  • 101
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 ...
ruakh's user avatar
  • 786
9 votes
1 answer
12k views

How to use gzip or gunzip in a pipeline with curl (For binary gz files)

I am using curl to download a file using the following command. curl -O https://s3.amazonaws.com/dl4j-distribution/GoogleNews-vectors-negative300.bin.gz I want to unpack it in a pipeline in the ...
nickg's user avatar
  • 93
-3 votes
5 answers
903 views

".gz" extension somehow appended itself to EVERY FILE on my site... how do I undo it?

Somehow I accidentally appended the extension .gz to ALL files in my entire website directory. How do I undo this? I need them to retain their original file extensions (EG: picture.jpg.gz -> picture....
user229025's user avatar
0 votes
1 answer
5k views

zcat or gunzip: proceed on error

When trying to gunzip or zcat a large number of gzip files, zcat/gunzip will terminate with this error: gzip: <gzip-file>: unexpected end of file Is there any way I can get gunzip or zcat to ...
Suman's user avatar
  • 961
3 votes
2 answers
15k views

can gunzip work on file without a suffix?

Is there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?
jldupont's user avatar
  • 6,734
1 vote
3 answers
5k views

How to decompress the *.TGZ file without changing the orginal file? [duplicate]

Possible Duplicate: How do you gunzip a file and keep the .gz file ? I decompress the file using following command: gunzip -f test.TGZ This gave me test.tar file but I lost the test.TGZ file. ...
nayakam's user avatar
  • 111
9 votes
3 answers
74k views

How do I gunzip a directory?

I have a gzipped directory called "new" which contains other directories and files, that I compressed in the following way gzip -cvr --no-name /path-to-directory/new > new.gz I have copied this >...
chaimp's user avatar
  • 215