Questions tagged [gzip]

Open source command line data stream compressor and archiver.

Filter by
Sorted by
Tagged with
1
vote
1answer
69 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
47 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
31 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
0answers
40 views

Cannot uncompress gzip file

I have a file called result.dat and I want to extract (files?) from that gzip file, I tried to rename the file name to result.tar.gz and result.zip and then use tar -xvzf or unzip. result.dat: gzip ...
0
votes
1answer
48 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
132 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
0answers
65 views

logrotate -> gzip 100% CPU usage after boot

I have Ubuntu 20.04. After booting my CPU went into 100% usage thanks to (root) gzip process. After I checked dependencies with: ps fax | grep -B5 gzip It turned out that it was due to logrotate ...
0
votes
0answers
26 views

unable to create backup of wordpress website on ubuntu 20.04

I am unable to create a backup of the wordpress website on localhost; I suspect there is a difficulty in the installation of the zip/unzip executable. Only an *xml file is created; which for the ...
0
votes
1answer
28 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
0answers
22 views

Files sortes wrong in consol and file manager

I hope you can help me, this is my first post here, and my english is not so good, i use google translate I use Ubuntu 18.04.4 LTS I want to decompress many files into one file, but there is the ...
0
votes
2answers
24 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
0answers
15 views

Tar archive then compression

I used tar to archive a dir. Then I compressed it with gzip. Now when I used tar -xvf a.tar.gz, I got my original file. Why without unzip it I got my original file?
0
votes
0answers
16 views

Gzip files in Apache Ubuntu

I'm new to Ubuntu, I have a website online developed in Node.js and angular what exactly I need to do for gzip my whole application?
0
votes
1answer
32 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
26 views

Using make to backup a tar.gz into another folder

I am working on assignment that has a tar.gz file containing c++ programs that we have to modify. I need to use the make command to backup this into another file that I can submit, with a rule that ...
0
votes
0answers
34 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
83 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/...
3
votes
1answer
1k 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 ...
6
votes
2answers
3k 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
90 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
33 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
760 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
1k 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
716 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
33 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
4k 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
9k 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
290 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
172 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
1k 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
3k 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
798 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
48 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
195 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
616 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
36k 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
2k 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
8k 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
225 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
10k 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
368 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
50 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
6k 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
1k 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
2k 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
2k 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
258 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: ...