a utility to archive files into a sequential stream, then commonly placed into one file on disk (previously tapes, hence the name, Tape ARchive)

learn more… | top users | synonyms

0
votes
2answers
4k views

“Cannot open: No such file or directory” when extracting a tar file

I am trying to install Apache Cassandra that is a tar.gz file. The following is the output I am getting. 1st instance: tar -zxvf apache-cassandra-2.0.3-bin.tar.gz tar (child): ...
5
votes
2answers
3k views

How to unzip .tgz file using the terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
-1
votes
0answers
33 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
81 views

install from .tar.gz [duplicate]

I am running Ubuntu 14.04 LTS, 64-bit. I know there are a lot of topics on ".tar.gz" but it didn't answer my questions and/or I didn't undetstand the answers. I am trying to install from a .tar.gz ...
0
votes
0answers
22 views

Ways to unpackage a tar file [duplicate]

I have heard of many different ways to unpackage a .tar file but it is unclear which ones are "official" (if there is one) and how they are different. Also, I have noticed that some work on some ...
0
votes
1answer
49 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 ...
3
votes
1answer
3k 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 ...
0
votes
1answer
26 views

tar: Removing leading `../' from member names

I am testing out the functionality of tar by compressing and extracting directories as follows: cd test mkdir Documents mkdir foo cd foo sudo tar cf - ../Documents | tar xf - The last command ...
1
vote
1answer
27 views

Struggling with server restore

I am new to Ubuntu after a long time of putting it off. Over the past few months I have gone from a complete novice to running my own home server with nginx and php-fpm and my website is working ...
0
votes
4answers
128 views

What are the different arguments passed to tar command?

What is the purpose of -xvzf arguments when we untar any tarBall file and what are the other arguments passed over the command? I found it mentioned in many books but can't find anything.
1
vote
0answers
25 views

LTO Backup problem in Ubuntu

I'm seeking advice how to troubleshoot this further... I have a Adaptec ASC-1405 SAS card and a HP LTO-4 tape drive. I make a normal tar backup, tar -cvf /dev/nst0 ... This works with any fuzz. But ...
0
votes
1answer
2k views

Extracting a tar ball fails with “Cannot open: Not a directory”

I am trying to extract an tarball, I keep getting this error tar: mediatek/custom/common/lk/lcm/bp101wx1_n/bp101wx1_n.c: Cannot open: Not a directory tar: ...
0
votes
2answers
138 views

I ran tar command with the -v switch, but got no output, why?

After running: tar -xvf directory.tar I don't get any error but I can't see the output. Does anyone can help me?
-2
votes
1answer
18 views

How do I use GROMIT?

I downloaded the gromit-20041213.tar.gz file, extracted it but now what? How do I use GROMIT?
25
votes
4answers
16k views

What's the best way to use parallel bzip2 and gzip by default?

Bzip2 and gzip only use one core, although many computers have more than one core. But there are programs like lbzip2, pbzip2 and pigz, which use all available cores and promise to be compatible with ...
2
votes
1answer
37 views

Tar exit code non-zero

I'm trying to build a backup script that creates a full tarball from my system each night. To do this I followed the tutorial here. So to test it out I decided to create a manual backup: tar -cvpzf ...
-1
votes
1answer
112 views

Compressing a folder (tar) without its containing directory in the foldername

I am trying to compress a folder with tar command. When i trying to compress it , it works fine the problem is with the file name. source path : /data/file/ destination path : ...
146
votes
2answers
212k views

How to extract files to another directory using 'tar' command?

I think tar archive.tar /users/mylocation will work. But it doesn't. How can I do that?
0
votes
0answers
24 views

Writer error when using tar to make a backup to a Windows network share

Hello, I'm a newbie to linux. I created a share in a windows machine named: //rui-pc/caixamagica Also a mounting point: /mnt/caixamagica and I want to backup my "/" (root) to that network drive.. ...
0
votes
0answers
89 views

Microsoft Access Database (.mdb) corrupted after backup on ubuntu server

On my network I host several Microsoft Access databases in a folder shared with samba. I also backup the databases every day using SimpleBackup, which sticks them in an uncompressed .tar folder. When ...
0
votes
2answers
30 views

tar command for another directory

I have a tarball (x.tar) in home/sermet directory. When I'm in different directory on terminal like, /opt#, I want to untar the x.tar in its current directory (home/sermet). How can I perform it?
1
vote
1answer
18 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
2
votes
2answers
18k views

How to install TestDisk from source

I have just come downloading a software called testdisk-6.14-WIP.linux26.tar.bz2. Therefore I'm wondering how to deal with the installation.
0
votes
2answers
76 views

How do I run/install Ubuntu Touch?

Sorry my English is not good. I'm translating. I got ubuntutouch 14.10 download the file format is Tar.gz How can I install this file? When I extract it to a folder that contains 1.5 GB of built ...
1
vote
1answer
60 views

A complete guide for backing up Ubuntu via the tar command?

I have given up on solving my wifi problem which can be seen here -> Wifi not working (Greyed out in NetworkManager) So I am going to reinstall kubuntu 14.05. However this is like my 20th time doing ...
2
votes
1answer
1k views

tar file bigger than original folder?

I used "Compress" from Nautilus to a 36MB folder. It created a tar called fs.tar.gz. This fs.tar.gz has the size of 98MB. How can this be possible? I did read somewhere that symlinks or something ...
1
vote
1answer
55 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 ...
0
votes
1answer
809 views

How do I install the game eggnog (without using wine)?

Here is where the game's files can be found: http://madgarden.net/junkz/files/eggnogg. I tried following the instructions here:How do I install a .tar.gz (or .tar.bz2) file? to install eggnog, but I ...
0
votes
2answers
110 views

Using cpulimit on a command rather than a PID

I am trying to use cpulimit on a command, like: cpulimit -e 'tar -chzf [...]' -l 50 but cpulimit seems not to be able to start the process: Warning: no target process found. Waiting for it... ...
2
votes
1answer
35 views

tar delete progress not shown?

I was trying to use tar command , --delete option and met some problems. There are two things I don't understand: when using --verbose option with combination of --delete option, nothing shows as ...
0
votes
1answer
38 views

running a tar command eats all resources

I am running a Rails application on my ubuntu 12.04 server. I have set up a cron job to take backup of all files uploaded to my application every morning at 2 am. It is a lot of files (around 900 mb). ...
9
votes
2answers
37k 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??
0
votes
1answer
104 views

curl to tar to zip not working properly

I am wanting to download an tar.gz archive, extract it and compress it into a zip file in one command. Reason for this is to be independent from temporary files. The command I use: curl -L "someURL" ...
0
votes
1answer
232 views

Extract tar.gz to STDOUT and zip STDOUT

I need to extract an tar.gz archive I downloaded with curl into STDOUT and use the STDOUT as STDIN for zipping the files again. curl -L someURL | tar xz --strip-components=1 -O| zip -r test.zip ...
0
votes
1answer
39 views

untar content of folder from tar.gz archive that get's data from STDOUT (wget)

I want to extract the content of a single folder from a tar.gz archive that get's it's input from the STDOUT of wget. My command looks like this: wget -O - http://example.com/file.tar.gz | tar -C ...
2
votes
1answer
11k views

“Cannot open: Permission denied” when creating a tar file

I need to to create a archive from my ftp server (all of the /usr/src/ directory) using tar command. However I keep getting permission denied error. Here is step by step what I am doing: ...
1
vote
1answer
89 views

BASH script for extracting archives - how to make the script ask for folder destination?

I've started using the bash script below, for unpacking archives. How would I go about making the script ask if I would like to specify a folder, or just use the default folder to extract to? I'd ...
2
votes
1answer
439 views

Installing LMMS 1.0.3 on Ubuntu

I'm having problems installing LMMS using cmake. I downloaded the tar file, and created the build folder inside of the extracted directory, then run cmake. I've attached the error log at the bottom. ...
0
votes
2answers
41 views

How do I compress a directory auto use directory name?

I have to assign file name when I use tar tar -zcvf xxx.tar.gz /home/xxx I always use history command , and alter the directory name and tar file name.I would make mistake at sometime to input a ...
0
votes
0answers
71 views

CRC error when trying to open archive with gzip/tar

When I run the command tar xvf ns-allinone-2.28.tar.gz it gives the following error: ns-allinone-2.28/tclcl-1.16/tkAppInit.cc gzip: stdin: invalid compressed data--crc error tar: Child returned ...
-1
votes
1answer
480 views

How can i install peerguardian?

I tried to install PeerGuardian and expected it to be a simple run and install... but its a tar.gz! I’m completely new to Linux and have no idea what that is, how to install it, or how safe it is! Can ...
0
votes
2answers
147 views

Where to “--exclude” the specific directory's in mine backup script using tar

I want to backup my whole linux server but where do i --exclude=proc --exclude=sys --exclude=dev/pts --exclude=/var/backups . Please help!!! Here is my code. I may also have some errors in it. ...
28
votes
3answers
57k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
2
votes
2answers
5k views

tar: A lone zero block at 343398

while trying to extract a tar.gz file in ubuntu terminal an error happened int he last sentence here it is : tar: A lone zero block at 343398 what is the solution for this problem???
0
votes
0answers
16 views

JDK 8 installation from .tar.gz file [duplicate]

I have downloaded jdk-8u11-linux-x64.tar.gz from the oracle website, and I have done gunzip and tar -xf which extracted all the files into a jdk directory(/usr/local/src/jdk1.8.0_11). Now is that it ...
0
votes
1answer
247 views

tar commands returns stdin error

tar -xvfz files.tgz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now This the error i got. (This file is created by tar -cvzf file.tgz file ) ...
0
votes
3answers
65 views

can't compress whole file with tar?

I'm not an expert with tar (xz) but I have a video (FLV) and it's size 95MB I would like to compress it and I was using this command XZ_OPT=-9 tar -Jcvf myfile.tar.xz 1.flv (I got this from a ...
0
votes
2answers
149 views

How to extract this package archive

I am trying to extract a certain file in the downloads folder and instructions given to me are as follows: Type the following in terminal and it will be done tar -xvJf ...
0
votes
1answer
73 views

Installing from Tar.gz Permission Denied

Total Linux noob. I have worked in the WinTel world as a network/sys admin for going on twenty years. Its time for me to get my feet wet with Ubuntu. Let me preface this with the following: I have ...
0
votes
1answer
84 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 ...