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

3
votes
1answer
4k 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
2answers
16 views

How to recover boot filesystem from a tar archive

I have rebuild my Ubuntu 14.04.1 installation as the USB drive which contained the boot partition crashed. I have a recent backup of all of / except for /proc /sys /mnt /media /run /tmp /dev. ...
8
votes
3answers
7k views

How do I create tar.7z file from the command line?

I would like to zip up my homework from last year. How do I tar and zip the whole folder from command line Ubuntu (I don't have GUI).
0
votes
1answer
52 views

Why I get “Cowardly refusing to create an empty archive” with TAR command?

I'm trying to follow this tutorial to full backup my linux / Ubuntu 12.04 after a fresh restore. my code in fullserver.sh : tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc ...
0
votes
1answer
17 views

Getting a tar file for latest linux patches

$ curl -L https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.1.tar.xz | tar -xjkf - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left ...
0
votes
0answers
19 views

Restoring a new install of Ubuntu from a .tar.gz backup

I have created a backup of my system using .tar.gz archive. Followed this example. Now I want a new install of Ubuntu on my other computer and want to carry accross my backup which contains all the ...
8
votes
2answers
598 views

Is it possible to convert 7z to tar directly?

I have a .7z file containing ~360,000 images in multiple directories. I'd like to convert it to a .tar so that I can open it in another computer. Is there a better way than extracting it to files and ...
3
votes
2answers
138 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: ...
4
votes
1answer
265 views

How can I make tar read input from stdin?

I need to use tar in a pipeline inside a shell script to archive and compress some files. After having read the manpage for tar I was able to make tar output to stdout by running it along with the -O ...
0
votes
2answers
1k views

compressing a list of files by using tar

what I am trying to do is to compress a list of files using tar. So what I am doing is sudo tar -pcf filename.tgz `cat filename.list` so if there is a directory on the list like this ...
0
votes
1answer
171 views

Install or run FlashTool?

Okay, I've downloaded "flashtool-0.9.18.5-linux.tar.7z" from the Xda Forums ( http://xda-forum.blogspot.nl/2015/03/how-to-install-xperia-firmware-using.html ) and I have tried to run "x10flasher.jar" ...
0
votes
1answer
540 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
167 views

How to install qpdfview 0.4.14?

I have been using the 0.4.12 build for a couple of months now and am ready to update to 0.4.14. I've tried a couple of things to install it but for fear of screwing up my Trusty environment I thought ...
10
votes
2answers
1k views

Why I can't uncompress a .bz2 file using tar?

So I have this wikipedia dump sized at about 10gb and named as "enwiki-latest-pages-articles.xml.bz2". I have been trying the following commands in the terminal to unzip the dump: tar jxf ...
2
votes
1answer
38 views

How to create a common base folder with tar and how to rename folders?

So I'm pretty new to Ubuntu and the whole Linux environment though I'm a computer scientist and I want to become familiar with the basic commands. At the moment I am working with .tar and .tar.gz ...
0
votes
1answer
47 views

Installation of Older version QGIS2.4 on Ubuntu 14.04 rather than QGIS2.8

I downloaded the qgis2.4 tarball from the qgis website, but it doesn’t follow the typical 3 steps of installation : ./configure make make install So I am stuck and unable to move forward. Could ...
12
votes
3answers
5k 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 ...
0
votes
1answer
24 views

Revkit make.py bootstrap error

username@ubuntu:~$ cd revkit-2.2 username@ubuntu:~/revkit-2.2$ ./make.py bootstrap bash: ./make.py: No such file or directory What does this mean and why does this happen?
2
votes
1answer
108 views

Tar restore from tape fails

I have a basic backup to tape script and restore script that was written by a previous admin. When trying to restore from tape, I get the following error: tar: v: Cannot open: No such file or ...
204
votes
8answers
335k views

How do I uncompress a tarball that uses .xz?

I'm used to extracting tarballs with a -xfz flag, which handles gzip and bzip2 archives. Recently I've run into a .tar.xz file and I would like to uncompress it in one step using tar, how can I do ...
0
votes
1answer
323 views

How do I install torbrowser 4.0.3 in Ubuntu 14.10 using tar command?

When I enter the command: tar -xvJf tor-browser-linux32-4.0.3_LANG.tar.xz It gives me this error: tar (child): tor-browser-linux32-4.0.3_LANG.tar.xz: Cannot open: No such file or directory tar ...
0
votes
0answers
203 views

Ubuntu 14.04 Anaconda Install Help

I started using ubuntu not to long ago. I am trying to install Anaconda on my linux distribution. Am following the instructions below: http://docs.continuum.io/anaconda/install.html#linux-install ...
0
votes
1answer
52 views

default package: tar .xz or tar .bz2?

I am using Ubuntu 12.04 LTS 32 bit, 2 GB of memory. Which default package should I select when asked before downloading an application like the Opera Web Browser?
-1
votes
1answer
99 views

I have a problem trying to install files with .tar.gz

I tried to install .tar.gz files in my computer through command line with the tar -xzf archive.tar.gz and it gives me this error tar (child): archive.tar.gz: Cannot open: No such file or ...
0
votes
0answers
46 views

Compressed backup solutions

The Question Is there a way I can use rsync, and enable compression of my data at the backup target? I'm aware of compression of data during transport, but I've disk space restrictions. I am ...
8
votes
3answers
15k views

How can I update a tar.gz file?

I have created a tar.gz file (using the GUI, not the command line). How can I update it with a command that new files are added and modified files are updated, too?
1
vote
1answer
39 views

Excluding files and directories from tar

Why does the command tar -cvpzf backup_140128.tar.gz --exclude=/backup_140128.tar.gz --exclude=/temp_intel * not exclude the /temp_intel directory?
1
vote
2answers
9k 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): ...
7
votes
2answers
18k 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 ...
0
votes
0answers
34 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
3k 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
130 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 ...
1
vote
1answer
38 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
231 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
80 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
170 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
49 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
18k 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
128 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
816 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 : ...
184
votes
2answers
258k 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
40 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
244 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 ...
2
votes
2answers
39 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
22 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
20k 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
107 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
79 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 ...