Open source command line data stream compressor and archiver.

learn more… | top users | synonyms

1
vote
2answers
36 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 ...
1
vote
1answer
180 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 ...
1
vote
1answer
37 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
231 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 ...
1
vote
2answers
117 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: ...
1
vote
2answers
80 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
0answers
62 views

tar: gzip: stdin: unexpected and of file

Hi anybody has an idea about this error: PLAY [Deploy to status servers] *********************************************** GATHERING FACTS ...
0
votes
1answer
69 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
15 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
56 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
127 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 ...
3
votes
1answer
2k 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’: ...
8
votes
2answers
7k 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
709 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
374 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
1answer
1k 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
45 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
2k 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
64 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
9k 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
4k 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
220 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
168 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
2
votes
3answers
7k 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
22 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
362 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
148 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
2k 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
1k 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
483 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
882 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
4k 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
149 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
6k 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
13k 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
1k 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
24k 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
8k 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
146 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 ...
1
vote
2answers
326 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
6k 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 ...
4
votes
1answer
7k 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 ...
3
votes
4answers
222 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
4k 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
439 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
17k 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 ...