Open source command line data stream compressor and archiver.

learn more… | top users | synonyms

0
votes
1answer
34 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 ...
0
votes
0answers
9 views

Why does unzipped directory copied to different server returns different size?

I create a gziped archive of a directly so have a file data.tar.gz on Ubuntu that I upload to AWS S3, I have an Amazon AWS instance running with elastic beanstalk. When deployed it downloads the file ...
0
votes
2answers
38 views

How to create a zip file from contents of a folder with certain name pattern?

is it possible to create a tar.gz file from contents of a folder but only put the files with certain name pattern in the archive and ignore the rest? for example just put the files which their names ...
2
votes
2answers
77 views

Archiving a lot of files / one big file

I want to compress about 100'000 files (that's what find . -type f | wc -l says) with a total disk usage of 100 GB. Most of the files are small but just a handful of them makes up about 70 GB of the ...
2
votes
1answer
582 views

Error, even with sudo: “dd: failed to open ‘/dev/sda1’: Permission denied” (dd input piped from gzip)

My command which doesn't work: sudo gzip -dc sda1.image.gz | dd of=/dev/sda1 returns the following error even before I've had a chance to enter my password: dd: failed to open ‘/dev/sda1’: ...
3
votes
2answers
2k views

How do I gunzip all files recursively in a target directory?

I'd like to know what is the command to use to gunzip all files in a target directory recursively? I tried to use the unzip command but it didn't work. I tried the command from Unzip all zip files in ...
2
votes
2answers
342 views

GZip of drive image created by using `dd` command

I created yesterday a drive image using GZip. I opened the 51.3 GiB file named ssd.img.gz to see one icon thats a package of 3.9 GiB, yes, thats THree point Nine Gigabytes in size and has the name of ...
4
votes
2answers
239 views

Why does gzip on tar output always produce different results?

What I expect from two commands which always produce the same output on their own, is them to always produce the same output when put in a pipeline, but apparently this is not the case for tar | gzip: ...
0
votes
0answers
49 views

Behavior of zlib1g-dev

I am trying to compile a project on Ubuntu (14.04.1), but the compilation fails with the following error: dynamic-programming-interface.cpp:1860:20: error: expected primary-expression before '*' ...
0
votes
0answers
37 views

Please help me to install tar.gz packages with terminal [duplicate]

I’m trying to install tar.gz packages with terminal and I’m completely lose. Please help me to install them.
0
votes
1answer
529 views

Recover Huge and Broken Gzip file

I have a 50.9 GB file which is a backup of my home folder on Ubuntu 12.04. I compressed this file using tar on Terminal from my sda (ext4) drive to sdb (ext4). The command I used was tar cvfz ...
0
votes
1answer
39 views

Random errors in decompressed files

I have a server with 14.04 installed. As I was using unzip and gzip I noticed a weird thing: the decompressed files were corrupted, meaning that random characters appeared in place of other characters ...
2
votes
1answer
1k views

curl .gz file and pipe it for decompression

I am trying to download some .gz files (N.B. not .tar.gz ones) from given URLs and decompress them to overwrite existing files, if any. For each individual download, I tried the following: curl -O ...
1
vote
1answer
59 views

Issue moving a file and error when unzip

Not sure if this is as weird as I see it But anyway I'm installing kippo-graph "data visualization tool" on Ubuntu Server 14.04 LTS but after I download the file which is (kippo.tar.gz) and I move ...
1
vote
2answers
6k views

3.15.5 stable kernel not building, “gzip: stdout: no space left on device”, /boot is NOT full

Running into an issue building the 3.15.5 stable kernel on Ubuntu 14.04 LTS. Relevant portion of sudo make modules_install install INSTALL /lib/firmware/edgeport/down2.fw INSTALL ...
6
votes
4answers
3k views

gzip all files with specific extensions

I'm trying to gzip all files on ubuntu that have the file extension .css, .html or .js. in a top directory and all subdirectories. I want to keep the original files and overwrite the .gz file, if ...
0
votes
1answer
157 views

Tar Gzip Every n Files in a Directory

I have a folder with 7,491 files in it. I'd like to tar gzip these in batches of 100, e.g. first 100 files > archive1.tar.gz files 101-200 > archive2.tar.gz files 201-300 > archive3.tar.gz ...
0
votes
4answers
141 views

what program should i use with a gzip archive [duplicate]

I am trying to download grub-1.99.tar.gz ,I do not know what program to use to open a Gzip file. please recommend
1
vote
3answers
5k views

Extract duplicity files manually

I lost the drive, and the Ubuntu OS installed in it, from which I created a backup using Duplicity, and I don't know how to restore the archived files I still keep in another drive. They all follow ...
15
votes
5answers
2k views

Compressing videos create even larger file

I have been using the GUI (right click => compress) to try and compress a .tar containing 3 videos totalling 1.7gb (.H264 MP4s). gzip, lrzip, 7z etc. all do nothing to the file size and the compressed ...
0
votes
0answers
21 views

Installs Keep Reporting No Space on Device [duplicate]

Thanks in advance for your help! I'm new to Ubuntu, and I'm sure my questions are pretty basic. I'm trying to install Java and Eclipse on my Ubuntu 12.04 machine. I'm using the command: sudo ...
1
vote
1answer
308 views

xoj (Xournal) files handled as gzip despite presence of correct MIME type

So I had to uninstall the ppa version of Xournal and build from source (with a modification). And now .xoj files open automatically with KDE's archive manager Ark, and are identified as being of type ...
6
votes
2answers
144 views

What is going on with my TAR script?

This might do better at StackExchange but I use Ubuntu as my file server. So I'm trying to use tar and gzip to only backup the last 6 months of changes on my file server and it isn't working. It ...
1
vote
1answer
966 views

Uncompress and pipe the output to script

I have a script that takes an input with a -i flag. The input file I have is compressed (.gz). What I want to do (not sure it's possible), because the file is huge, do some thing like this: gunzip -c ...
0
votes
1answer
987 views

How can I combine find command with gzip

I am trying to compress a specific files: find /media/mount/storage -newermt "2013-08-01 00:00:00" -path '*/*wind.txt' -print0 | xargs -0 gzip -l >> file_system.tar.gz but I am getting the ...
2
votes
1answer
373 views

Does gzip hold any cache in memory or a temp file?

I'm doing some benchmarking on the compression of files with/without a hypervisor using gzip. The command I'm running to test how long a file takes to complete is : time gzip -c filename.txt > ...
0
votes
1answer
1k views

Problems with unzipping .tar.gz

For installations i've needed to unzip .tar.gz so ive used tar fvxz file_name.tar.gz yet it replies with tar (child): file_name.tar.gz: Cannot open: No such file or directory tar (child): Error is ...
0
votes
1answer
1k views

How to unzip and display as plain text .foo.gz files in Firefox?

Using Firefox (currently at version 20.0), when browsing to a URL containing a file with an extension of .foo.gz, how can I make Firefox download it to a temporary location, un-gzip it and display the ...
1
vote
1answer
731 views

Compressing big files into several files ubuntu

I am wondering if we on Ubuntu have an option to compress an directory of for instance 2GB size into several files that are restricted to the size of say 100 MB? I know on Microsoft Windows you can do ...
1
vote
1answer
3k views

Stencyl wont extract? Ubuntu 12.10 64-bits

So, I'm on Ubuntu 12.10 64-bits, and I'm trying to get Stencyl to work. I have Stencyl-2.1.0.tar.gz, but when I try to extract it (like it says to do in the Stencyl download instructions) it gives me ...
0
votes
1answer
143 views

Ubuntu 12.10 Can't install any apps due Stranger error

I can't install any app in the Ubuntu, I can't even open the Software Center (It Crashes) When I run sudo apt-get update, it shows me W: Falhou ao buscar ...
2
votes
1answer
5k views

Gzip and rename (remove .gz extension) all files except images and PDFs?

I am able to gzip every file in a directory (mydirectory) using the command: gzip --suffix .gz --recursive mydirectory But... I don't want the images (.ico, .jpg, .png, .gif) and PDFs (.pdf) ...
0
votes
2answers
12k views

Install .tar.gz and .tar files? [duplicate]

Cody again. I'm still sort of a noob at installing things so I need your help... Im trying to install hping3 and of course it's a .tar.gz file... I've looked everywhere even on here and no ...
1
vote
1answer
842 views

How can I unzip files with “weird” extensions in ubuntu?

How can I unzip such files in ubuntu? I have a list of files end with those extensions filename.tar.gzaa filename.tar.gzab filename.tar.gzac filename.tar.gzad filename.tar.gzae ...
5
votes
3answers
23k views

How to uncompress separated tgz files?

I am receiving error message as: tar -zxvf OVM_EL5U3_X86_EBIZ12.1.1_DB_VIS_PVM.tgz.1 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now file ...
12
votes
3answers
6k views

Any linux command to perform parallel decompression of tar.bz2 file?

I have a rather large file (~50GB) and it takes some time to run tar xvf file.tar.bz2 on it. I'm aware of programs that can do parallel compression for bzip2 files but unaware of programs that can ...
3
votes
1answer
144 views

Is there an audio player for Ubuntu that can automatically decompress and play gzipped music?

I'm looking at ways to reduce the amount of space taken up by my large collection of music, mostly Ogg Vorbis with the occasional MP3. What prompted this was thinking ahead to potentially using an ...
0
votes
2answers
304 views

Manually add files to tar

I have a ton of txt.gz files on a network I want to ungzip and put into a tgz. I have enough disk space for the all compressed files, but not uncompressed. The way I see it in my head is tar -czf ...
1
vote
2answers
2k views

Having trouble with .tar.gz extraction

I tried to extract .tar.gz file using following command spgt@ubuntu:~$ tar xvf 12.0sp1_232_quartus_free_linux.tar.gz but this is what I see after I press return tar: ...
1
vote
2answers
5k views

Why compressed directories cannot be extracted in /opt?

I am not able to uncompress a file with .tar.gz extension Did sudo tar -xvzf ~/Downloads/file.tar.gz /opt/ but no success. it says: tar: /opt: Not found in archive tar: Exiting with failure status ...
3
votes
1answer
5k views

I am trying to install a compressed package ending in .tar.gz and I am getting an error saying that it is not in the right format,

I am new to Ubuntu and after doing some research I still can't figure what I am doing wrong. I am downloading the a package ending in .tar.gz,then I when I try to use: tar -xvf matlab_r2011b.tar.gz ...
2
votes
4answers
199 views

Which kind of installation files should you prefer - .deb or tarball files? And why?

I have just starting Ubuntu as my primary OS and everytime I have to install something I generally try to find .deb files as that seems convenient, but someone on another forum told me I should always ...
1
vote
1answer
3k views

internal gzip read error

I have a Dell Optiplex 755 Core 2 Duo that I made a fresh install of 12.04. There is no Winows OS on the machine. It has been running mostly fine for over a week. I do keep getting system crashes due ...
3
votes
1answer
385 views

Python gzip fails on Ubuntu 11.04

This function is based on the Python sample code @ http://docs.python.org/library/gzip.html. It runs reliably on Ubuntu 10.04 with its default Python 2.6x. On Ubuntu 11.04, however, the code fails @ ...
3
votes
2answers
15k views

cannot install application from source using tar.gz archive

I tried to install utimer (https://launchpad.net/utimer) by following the below steps. $ tar -zvxf utimer-0.4.tar.gz $ cd utimer-0.4 /utimer-0.4$ ./configure /utimer-0.4$ ls aclocal.m4 autogen.sh ...
2
votes
1answer
146 views

What happens when I drop a file on archive in Nautilus?

I had this file structure: 2000/ 001.txt 002.txt 003.txt ... 2001/ ... 2002/ ... ... 2011/ I guess file structure doesn't matter, but anyway... So folders are representing couple of ...
0
votes
1answer
11k views

tar unpack : Unexpected EOF in archive

I have downloaded "eclipse-platform-3.7-linux-gtk-x86_64.tar.gz". Using Ubuntu 10.10 64-bit on Intel 64-bit processor. While trying to unpack the contents (either double-click or right-click & ...
312
votes
8answers
933k views

How to unzip a zip file from the Terminal?

Just downloaded a .zip file from the internet. I want to use the terminal to unzip the file. What is the correct way to do this?
12
votes
2answers
55k views

Compress in .tgz

I want to compress files in .tgz. I know how to make tar.gz(with tar and gzip) and some people say it is almost the same, but I need to make a .tgz, how??
1
vote
5answers
4k views

Gzip time to decompress?

I wanted to backup my entire server, which is hosted. So I used dd and gzip to make the file smaller. The disk was 500GB, but with less than 5% used. I managed to dd the whole partition into a 200 ...