Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [gzip]

Open source command line data stream compressor and archiver.

Filter by
Sorted by
Tagged with
6
votes
2answers
997 views

How to extract *.tgz.part-*?

I have several files as follow : multiview_action.tgz.part-aa multiview_action.tgz.part-ab ... ... multiview_action.tgz.part-ap I tried the following command : tar -zxvf multiview_action.tgz* ...
0
votes
1answer
73 views

gzip strange idle usage?

I've noticed last couple of nights my fans come on lightly as if the cpu was being used. Found the culprit is gzip, however no open files and pretty much nothing else to show. What could it be up to ? ...
1
vote
1answer
22 views

Problem with a front end of compressed files

I need to make a frontend for compressed files, the idea is that if you receive a gz or bz2 file, uncompress it with gunzip and bunzip2. If what you receive is a tar.gz or a tar.b2 you should unpack ...
2
votes
1answer
283 views

How to install and enable brotli compression on LEMP on ubuntu 18.04

I need some help. I have enabled gzip compression, but I also want to allow brotli compression on my server. I followed many articles available on Google, but none of them helped me to install and ...
0
votes
2answers
321 views

curl unexpected end of file when downloading gzip

I used command The URL the data is located at. URL=http://data.biostarhandbook.com/rnaseq/projects/griffith/griffith-data.tar.gz Downloading and unpack the data. curl -s $URL | tar zxv I got ...
2
votes
1answer
166 views

archive folder /usr/share/man

I have Ubuntu 18.04 LTS. There seem to be thousands of gzip archive files, eg stored under the /usr/share/man folder and its sub-folders, which I'd like to get rid of as they just clutter up my drive. ...
0
votes
0answers
41 views

How to auto exact tgz files downloaded to any folder through firefox or google-chrome?

How to auto exact .tgz files downloaded to any folder through Firefox or Mozilla? Daily i will download lot of .tgz files. Is there any Ubuntu software or Firefox or chrome extensions/ad-dons which ...
0
votes
0answers
17 views

Extract same file from multiple directories with same name i.e. 00000.gz?

Extract the file from multiple folders with same name into some other folder with diffrent name.. If possible with increasing count file1 to file100. As of now if i run this command then it only ...
0
votes
1answer
1k views

append or remove file from tar and tar.gz

I want to append files to foo.tar: tar -rvf foo.tar IMG_1807.MOV this works, but when I want to remove files: tar -dvf foo.tar IMG_1807.MOV doesn't work. It shows the output: Terminal:~/Desktop$ ...
7
votes
2answers
4k views

gzip 2 files into one file

I want to gzip two or more files into one file, I checked this and this but both have files like: n1.txt, n2.txt, ... but my filenames are completely different, like: file.mp4, bar.txt, foo.jpeg and I ...
0
votes
1answer
123 views

How to edit header of tar.gz file that has been split

I downloaded a tar.gz file which is approx 50gb, and it is part of a larger tar.gz file that is 500gb that was split up into ten 50gb sections. When I try and decompress the 50gb file, I get an "...
0
votes
0answers
25 views

gzip: stdout: No space left on device (Loop hole) [duplicate]

I know this question is asked already many times here. But I think I am in some kind of loop hole here. I can not complete command sudo apt-get autoclean && sudo apt-get autoremove -f ...
3
votes
1answer
134 views

Automating Gzip enabling and caching expiration in Apache

Instead me having to copy-paste the following codes to enable Gzip comperssing and cache expiration into my apache2.conf each time I create a new server-environment, is there a way to make them appear ...
0
votes
0answers
583 views

invalid compressed data--crc error invalid compressed data--length error

I gzipped a 8.7GB kvm qcow2 image but I forgot to add the -k parameter so the original image is lost. So in order to get it back i tried to "gunzip" and the resulting file blew up past 400GB... ...
1
vote
3answers
657 views

how to recursively extract where folders are uncompressed but files inside them are compressed.

I have tried everything i know and dozens of old forum posts on this kind of thing...nothing is working. I have uploaded a backup wordpress directory to web server after the existing one was ...
0
votes
0answers
1k views

tar -xvf file.tar.gz failed with: gzip:stdin:not in gzip format

I tar a set of files with command:tar -czvf file.tar.gz file/ then copy to usb (ext4 format), I checked that I can untar it. After I reinstall system(ubuntu 18.04) , when mount usb , some error ...
2
votes
3answers
454 views

How to insert a line break between stderr and stdout

This question helped me understand how to combine stderr and stdout: How to redirect stderr to a file with this command: gunzip -vc /opt/minecraft/wonders/logs/20* 2>&1 But how may one ...
0
votes
1answer
30 views

Gzip freezes during the execution of ./configure command

I am following the instructions of LFS book. I have unzip or untar many packages and install it. But when I do the same process for Gzip package It freezes. Everything is works fine until checking for ...
0
votes
1answer
65 views

Need help with: “file type Gzip archive is not supported”

I’ve downloaded the Ltc core wallet on Ubuntu 16.04, 32bit. When I try opening the folder, a message tells me ‘file type Gzip archive is not supported’. So I downloaded Xarchiver and tried again, with ...
0
votes
0answers
249 views

Is it possible to recover data from a partial tar.gz file?

I was uploading my backup tar.gz file over several sessions. With one session still to go, I thought I would take a break. That was the last time I was able to use that pc - dead HD. The original tar....
11
votes
2answers
26k views

How to uncompress a .bin.gz file?

I have a file named like file.bin.gz. I tried using gzip -d f.bin.gz to uncompress it, and got a .bin file. Is the correct way to uncompress .bin files to use gzip -d? Also, .bin is a binary file, ...
0
votes
1answer
1k views

how to get the latest version of gzip? [closed]

I am currently running Ubuntu 12.04 LTS I'm having gzip of version 1.4. how do I get the latest version of it (say gzip 1.6)? how to I upgrade to latest version of it?
1
vote
1answer
4k views

.tar.gz file downloaded as HTML document, ASCII text

While going through the following instructions: curl -O http://static.druid.io/artifacts/releases/druid-latest-bin.tar.gz tar -xzf druid-latest-bin.tar.gz cd druid-latest I received the following ...
0
votes
1answer
128 views

Bash command accessing all subdirectory fails

I have a directory structure like this: example/ace/actives_final.sdf.gz example/ace/decoys_final.sdf.gz example/aces/actives_final.sdf.gz example/aces/decoys_final.sdf.gz I only want to access each ...
2
votes
3answers
7k views

How do I get a file size(original file size) within .tar.gz without uncompress it?

I make myfile.txt to zip file with below command, is there a way to get original file size 'myfile.txt' without unzipping it. tar -czf myfile.tar.gz myfile.txt
0
votes
0answers
314 views

extract and save subfiles from a gz file

EDIT: I used the command tar xvfz and everything is good now. I see a subfolder with all the files in it, just as i wanted to. First, please excuse me this is a stupid question, i am very new to ...
0
votes
1answer
46 views

How to write “gzip -c foo.txt > foo.txt.gz” with 2 redirection operators instead of 1

A bit of an arbitrary question, but it's part of a school assignment so I don't really have a choice. The problem in question is this: compress foo.txt into foo.txt.gz while keeping the original ...
2
votes
0answers
35 views

/boot/ Full, not enough space to remove old kernels? [duplicate]

EDIT: following the instructions on this thread, I attempted to remove my old/unused kernels but could not. It looks like there's not enough space for the operation, what do I do? Output of ls /boot/:...
6
votes
1answer
4k views

undo a gzip recursively

OK, so I did a stupid, and forgot to specify a filename in the process of doing a website backup. Now, all my files say file_name.extn.gz How do I get all those mistakenly gzipped files back to ...
1
vote
1answer
847 views

Compress to a single file .nii.gz wont work

I have several files with .nii format, I wanted to create a single file with .nii.gz format, so I opened the terminal and cd to where I keep my .nii files and then used this command: gzip *.nii but ...
2
votes
2answers
1k views

How to compress , keep and empty original file with gzip

For some reason I'm not being able to use logotate to compress files periodically. So I decided to write my own script, it's not the most hard thing but one small detail is pinning me down. When using ...
1
vote
1answer
1k views

How to recursively un-gzip all my files?

I accidentally gzip'd all my files in a directory, and in all of its subdirectories. All the files in the subdirectories are now replaced with a zipped one (.gz extension). For example example.txt is ...
1
vote
1answer
215 views

all TARs not extracting [duplicate]

Link to file: http://nginx.org/download/nginx-1.11.6.tar.gz so, i'm trying to install nginx with the rtmp module and when I go to extract the nginx source from the tar.gz i get an error: gzip: ...
0
votes
1answer
79 views

What Does Parameter Stand For?

I learn some Ubuntu commands and some commands can take some parameter. I want to ask two questions. First (more general): Are all parameters which use same abbreviation (like "-N"), used for same ...
0
votes
2answers
2k views

Error with gzip while used along with tar

I am new to ubuntu. I have an error when using tar function along with gzip. I usee the following code : find -type d -name 'doc*' | tar -czvf /path/where/gz/file/is/stored/file.tar.gz -T- But the ...
4
votes
1answer
2k views

Does gzip accept stdin?

When i pipe to gzip it can not accept stdin i should using xargsto convert stdin to argument $ls 1.txt $ls |xargs gzip && ls 1.txt.gz every thing is ok . but when i want to compress a cpio ...
0
votes
1answer
950 views

How do i recover corrupted tar.gz archives in Ubuntu?

So i have an data archive in the Tar.gz format and it got corrupted,in a weird way. So it has it's original file size that it had before it got corrupted which was something around 2.0GB,but only ...
0
votes
0answers
85 views

gzip functions in python2 but python3 doesn't recognize zlib

I have python2 by default and I use python3 instlled via apt-get, I import gzip in python2 without problem, but in python3 don't recognize zlib. I am a newbie in linux and don't have ideia what to do. ...
3
votes
1answer
4k views

gunzip redirection to /etc/: No such file or directory

I'm trying to follow this tutorial on how to make a vpn, but I am having some trouble gunzipping. If I try to put in the code sudo gunzip -c '/usr/share/doc/openvpn/examples/sample-config-files/...
2
votes
1answer
279 views

How to open large file with extension .v2.gz?

I am using Ubuntu 14.04 LTS. I have a large file with the extension .v2.gz and I cannot extract it with archive manager. Is there any way to uncompress the file using terminal?
-1
votes
1answer
3k views

How can I check an “unexpected EOF” in my .tar.gz file?

Hi I have a problem with a .tar.gz file wich has backup of family photo collection and so. I've tried gzrecovery toolkit and i did gzrecover file.tar.gz and cpio -F file.tar.recovered -i -v Buy i ...
1
vote
0answers
503 views

Compress a folder but skip compressing specific file types and include them as such

I am using tar with pigz to compress a folder and save a backup. Size of this folder ~190 GB or more. This folder has variety of content including numerous text and log files, ISOs and zip files in ...
8
votes
1answer
13k views

Is it possible to pipe from stdin to gzip?

If I run the command s3cmd get s3://bucket/file.gz - I get binary output on the screen. If I try to pipe this to gzip with s3cmd get s3://bucket/file.gz - | zcat I get gzip: stdin: not in gzip format. ...
2
votes
2answers
826 views

Gzip compressed each files with .gz Extension how to revert back

I am trying to do a zip project folder and by mistake used gzip -r /project1. gz /project1 and it has been zipped each files with.gz extension how I can revert it back. Please advise. /app# ls ...
7
votes
1answer
52k views

'gzip: file.log.gz: not in gzip format' error

I have a .gz folder and I tried to unzip it using terminal by the following commands, but gave error. gunzip access-2.log.gz gzip -d access-2.log.gz Then I followed the error in Ask Ubuntu,...
1
vote
1answer
325 views

Search and encrpyt single file in gpg encrypted folder

i have a huge gpg encrypted tar-gzip file ~100 GB. But only need a single folder from it. I can list/search the content by doing eg. gpg -d file.tar.gz.gpg|tar -tz |grep "filename"|more This is ...
4
votes
2answers
2k views

Confusion between archiving and compressing?

I am confused about archiving and compression and I am going to write what I think is correct. Here are the commands that I wish to get a better understanding of: tar –c file > file.tar tar –cf ...
2
votes
2answers
9k views

./configure: No such file or directory while installing tar.gz

I am new to the Ubuntu. I tried to install pycharm-community-5.0.tar.gz with following command: tar -xzf pycharm-community-5.0.tar.gz cd pycharm-community-5.0 ./configure it says ./configure: ...
10
votes
3answers
36k views

how can I extract multiple gzip files in directory and subdirectories?

I have tried both gzip and gunzip commands but I get either gunzip *.gz gzip: invalid option -- 'Y' gunzip -S-1800-01-01-000000-g01.h5.gz gzip: compressed data not read from a terminal. Use -f ...
1
vote
1answer
665 views

Problems with unzipping openfire_3_10_2.tar.gz

While installing openfire got an error with unzipping the downloaded file that gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now When checking ...