Questions tagged [gunzip]

The gzip program compresses and decompresses files using Lempel-Ziv coding (LZ77).

gunzip (GNU unzip) is the data decompression tool associated with the compression tool gzip (GNU zip). It can decompress files created by gzip, compress or pack.

202 questions
0
votes
0 answers

Can't unzip a file gzipped on another server

I have main and backup servers (both with ubuntu server 12), and after gzipping a file on the main server it cannot be unzipped on the backup-one. Unzip says that file is not in gzip format. Both servers have the same gzip v1.4. I may scp gzipped…
Kasheftin
  • 7,509
  • 11
  • 41
  • 68
0
votes
5 answers

Pipe multiple files (gz) into C program

I've written a C program that works when I pipe data into my program using stdin like: gunzip -c IN.gz|./a.out If I want to run my program on a list of files I can do something like: for i `cat list.txt` do gunzip -c $i |./a.out done But this…
monkeyking
  • 6,670
  • 24
  • 61
  • 81
0
votes
1 answer

Bash gunzip error

While trying to restore the file "derp" the terminal prints derp0000644000175000017500000000000512343302711011660 0ustar UserUserDerp and does not unpack the files , i am confused can someone help me ? # let the user choose what they want to…
0
votes
1 answer

Download and extract gz file using javascript [ClientSide]

I'd like to download a database compressed as a .gz file in a cordova application and extract it to create a local WEBSQL database. Is this posible? I have the need to do this because my app needs to work offline, besides that this database I have…
danielrvt-sgb
  • 1,118
  • 5
  • 17
  • 33
0
votes
2 answers

Unzipping unfinished gzip...possible?

So I just spent a week running a simulation, but the computer had to be turned off to move it (terrible, I know). The data that was being produced was being zipped due to it's size by piping it into gzip, but since the simulation wasn't finished, I…
ras2124
  • 264
  • 1
  • 3
  • 10
0
votes
0 answers

How unzip .gz file and zip file with extension .gz

I am getting database "swx.sqlite.gz" from server now i need to uncompress it to swx.sqlite and play with this in application. After that when i need to send the database file then i need to compress it to swx.sqlite.gz and sent back to server. I…
Muhammad Saad Ansari
  • 1,748
  • 3
  • 13
  • 20
0
votes
1 answer

Error loading webpage while parsing JSON-string

Please have a look at my code where I'm trying to compress data using connect.compress middleware. How can I parse the JSON string in browser to get the decompressed data? When I try to hit localhost:2080 I'm getting a page loading error. Client…
user87267867
  • 1,409
  • 3
  • 18
  • 25
0
votes
1 answer

Shell Script: Looping a gunzip and grep statement

I'm trying to create a shell script that: copies a file from my log directory to a separate directory for analysis. Gunzips that file and looks for a text pattern Outputs that pattern to a file for further analysis deletes said file I'm trying…
rally_point
  • 89
  • 1
  • 1
  • 9
0
votes
1 answer

using "dd" to capture and restore fails?

I used dd to capture the two local vm partitions like this... # dd if=/dev/sda1 | gzip >mySda1.gz # dd if=/dev/sda2 | gzip >mySda2.gz Then I attached two volumes of sufficient size to an already running instance and mounted them (as /mnt/one and…
dmohr
  • 2,699
  • 1
  • 22
  • 22
0
votes
1 answer

boost gzip_decompressor failing where gunzip succeeds

One of our products at work involve a files with the following structure within them: A STRING WITH SOME CONTENT IDENTIFYING THE FILES CONTENTS A STRING ON ROW 2 A STRING ON ROW 3 A STRING ON ROW 4 Now if I…
Chris
  • 491
  • 7
  • 14
0
votes
2 answers

Decode Base64 Gzip in python

I'm trying to decode a gzip garmin activity file using Python. According to Garmin the file is a base64 gz file. I'm uploading the file from the browser via post and receiving the data in a Django App. The beginning of the file looks like this.…
user677325
  • 23
  • 2
  • 6
0
votes
1 answer

How to get the modify time of a compressed gz file using perl

I have thousands of gz files, each gz file has one XML file compressed. I need to parsing all the files by Perl. It works fine when using following Perl code: my $fh = IO::Uncompress::Gunzip->new($file); while($_ = <$fh>) { ... } My…
ChengYing
  • 85
  • 1
  • 2
  • 5
0
votes
1 answer

gunzip after Automatic ftp crc length error

I am facing an crc error/length error on .gz file of a file to server. While manually retrieving the file, I am getting a size 1932 bytes and gunzips fine without any problem. But when I retrieve it through a shell script, the file arriving is 1931…
Lordlebu
  • 411
  • 1
  • 6
  • 15
-1
votes
2 answers

How to send gunzip stream to another server without decompressing on local side?

I've got this bash command: gunzip db.gz | ssh user@host mysql -uroot -ppassword db It works, but has a side effect of decompressing the db.gz file which then has to be recompressed. I want to leave the compressed file in tact. I did a man 'gunzip'…
StevieD
  • 6,925
  • 2
  • 25
  • 45
-1
votes
1 answer

Extract file from TARBall archived from console

Next problem is taking place for me: There is TAR archive i had to compile with file-roller for a while as script routine using file-roller command. Now I had to change my script to be more "technical" and cross-platform referring directly to TAR…
LifeOnNet
  • 107
  • 2
  • 13
1 2 3
13
14