Questions tagged [gzip]

Open source command line data stream compressor and archiver.

Filter by
Sorted by
Tagged with
0
votes
1answer
479 views

how to extract a currupted zip file

I compressed some zip files to another zip later when I tried to extract it it says End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a ...
0
votes
0answers
41 views

Decompress .zone.gz file

I have a file names xyz.zone.gz opening it up via gunzip gave me an error gzip: /home/User/Downloads/xyz.zone.gz: not in gzip format Earlier, I thought that the its a .gz file but since it gave me an ...
1
vote
0answers
20 views

GUI - compress a folder in tar.gz format skips the backup files (files ending with "~")

If I have these example files in the folder "Example": text1.txt text1.txt~ text2.txt text2.txt~ text3.txt text4.txt After the compression with mouse right-click and click "Compress...&...
0
votes
0answers
35 views

gzip i/o error while wrinting to NAS

I have a backup script that creates a backup archive onto a mounted NAS drive: tar zcf /mnt/nas_drive/backup.tgz .??* * About 50% of the time, the process fails with the following error message: gzip:...
1
vote
1answer
1k views

unzip .tar.gz file in terminal [duplicate]

How do I unzip a .tar.gz file in the terminal? I'm not able to do so in GUI, because I want to extract it to a /usr directory, and will need the sudo command.
1
vote
1answer
107 views

How do I instalI xfe-1.43.2.tar.gz?

I am running Ubuntu 18.04.5 LTS I installed xfe file manager with: sudo apt install xfe version 1.42. I would like to upgrade it to version 1.43.2. I downloaded xfe-1.43.2.tar.gz and extracted it. I ...
1
vote
0answers
266 views

How to backup a folder from ubuntu so that it can be used afterwards on any file system and OS, by any user

Summary: I need to backup a folder (not the entire system) with 450 GB worth of content to many different external drives (NTFS and ext4). I'd like to archive it (tar) and compress it (maybe gzip?) ...
0
votes
1answer
463 views

Missing files? 3Gb+ .tar.gz file contains files with total size of 6.2Kb

I am running on Ubuntu 18.04.4 LTS. I gzipped a folder with roughly 60+K files into a .tar.gz file. The compressed file had a size of 3.3Gb. I opened the compressed file to extract some files, and ...
0
votes
1answer
136 views

How can I install 2 mysql instances in ubuntu using the generic binaries?

I want to install 2 mysql versions, one on the default port (3306) and the other on the 3308 port, on ubuntu 18.04 using the tar.gz file for generic binary installation. I would really appreciate if ...
3
votes
1answer
145 views

Zip certain files having filenames alphanumerically bigger than others

I gzipped files in a slurm job. But job canceled before it is done. It takes so long(~10min for a file, and there is 200 files). How can I zip only the remaining files which are not zipped yet? $ ls ...
0
votes
1answer
39 views

How to zip a mobi file from the CLI?

Using tar works fine: thufir@dur:~/Desktop$ thufir@dur:~/Desktop$ ll total 9720 drwxr-xr-x 2 thufir thufir 4096 Jun 13 13:14 ./ drwxr-xr-x 48 thufir thufir 4096 Jun 13 00:46 ../ -rw-r--r-- ...
0
votes
2answers
62 views

Compress folder following any symbolic links

I store a lot of my data in a flat structure and the create symbolic links to different folders where my clients can access them via OwnCloud. I need to compress one of these folders containing sym-...
0
votes
1answer
41 views

How to control gzip and sed process

I use Ubuntu Studio 19.10, Linux 5.3.0-40-lowlatency (x86_64). Since a while, one of my PCs, is working a lot with some process (apps) I've never programmed to work: "GZIP" and "SED" (and there are ...
0
votes
0answers
35 views

Is GZIP working always (invisible), by default?

I use Ubuntu Studio 19.10. I want to know if the app GZIP is working, invisible, at any time, by default, even if we don't ask it to do something. In other words... Can this app work in an automatic ...
0
votes
2answers
140 views

Why does Drag&Drop from Engrampa (*.tar.gz content) to Thunar not work?

There's a tooltip when dragging (see the screenshot below) but at dropping it flies back to Engrampa and nothing is done: no unzip, no untar, no mkdir(s), no copy, no sudo password dialog, no info/...
4
votes
1answer
4k views

How to exclude a folder by name recursively when making a tar archive?

I know it is possible to exclude a particular folder by a command like this: tar --exclude='/srv/www/project/node_modules' -zcvf /backup/project.tgz . My question how to exclude any folder named ...
7
votes
2answers
9k views

How to extract *.tgz.part-*? [duplicate]

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
113 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
47 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 ...
3
votes
1answer
1k 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
2k 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 ...
3
votes
1answer
1k 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
34 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
6k 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$ ...
10
votes
2answers
13k 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
495 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 "...
3
votes
1answer
189 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
2k 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... ...
2
votes
4answers
6k 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
2k 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
1k 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
102 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
397 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
990 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....
17
votes
2answers
42k 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
3k 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
12k 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
387 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
13k 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
424 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
76 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/:...
7
votes
1answer
7k 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
2k 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
3k 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 ...
2
votes
1answer
3k 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
282 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
114 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
4k 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
3k 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 ...