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

1
vote
2answers
29 views

untar single file error

I am trying to untar a single file inside a big tar.gz file with this command: tar -xvf files.tgz '/home/home_ndb_fp/DATI (ex parc.)/DOC AAA/AAAAA/TRES VIN/AAAA AAAA - AAAA AAA AAAA/BBBBBB by ...
0
votes
1answer
18 views

how to install cassandra tarball?

from http://www.planetcassandra.org/cassandra/ I have dsc-cassandra-2.2.4-bin.tar.gz How do I install it?
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 ...
0
votes
0answers
10 views

Which type of tar compression has the best compression power? [duplicate]

There are many variations of the .tar compressed packages tar.bz2; tar.gz; tar.Z; tar.lz; tar.xz I want to compress: A series of text files video(s) I understand that the different types of tar ...
0
votes
2answers
40 views

What is the difference between .tar files [duplicate]

What is the difference between .tar.gz and .tar.xz (is there more?)? I know that you can just open up Archive Manager and extract them. But what is the actual difference? Which should I use? What ...
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 ...
0
votes
1answer
19 views

Backup script for Unix

I have written a shell script to take backup. #!/bin/bash TIME=`date +%b-%d-%y` FILENAME=backup-$TIME.tar.gz SRCDIR=/home/ubuntulover/scripts ...
0
votes
1answer
14 views

Backup and restore whole system with TAR issue

This happened a few times. So I am curious why. For some purpose, I did tar cf /backup/os.tar / --one-file-system. Then booted into rescue system and remade root filesystem. Then tar xf ...
0
votes
0answers
15 views

Installing a .tar file without configure, install or readme file [duplicate]

I've managed to extract the file and gained two additional executable files but nothing seems to work and I have been kind of stuck for the last couple of hours. Everybody else seems to get these ...
0
votes
1answer
79 views

How to untar a .tar.xz file

I tried to run: tar -zxvf name.tar.xz but all I got was: tar: Child returned status 2 tar: Error is not recoverable: exiting now
-1
votes
1answer
52 views

How to extract .tar.bz2?

Im downloading an engine game file witch it compressed in .tar.bz2. Im trying command tar -zxvf enginsxt.tar.bz2 And it gives error. I know that command tar -zxvf only for extracting .tar.gz ...
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 ...
0
votes
2answers
650 views

Popcorn-Time installation

I downloaded a new Popcorn Time from popcorn-time.se and I don't know how to install a tar.gz file. I extracted the folder that is in tar.gz and then tried to run command sudo ./install but there in ...
0
votes
1answer
30 views

error in untarring

I am now trying to install Texlive ON UBUNTU 2015, but I get this installation S error : untar: untarring /usr/local/texlive/2015/temp/amsfonts.tar failed (in /usr/local/texlive/2015/texmf-dist) ...
3
votes
1answer
45 views

how to tar in python

I want to backup my website using a python script. This is the script: #!/usr/bin/python import os import time import datetime from subprocess import call DATETIME = time.strftime('%Y%d%m-%H%M%S') ...
1
vote
1answer
87 views

How can I install programs from Tarballs?

I was trying to install get several programs. I realized that a lot of the installations came in the form of tar and deb files. I have no idea how to install tar files so I searched and found that you ...
4
votes
1answer
75 views

Why does Tar preserve the original files' permissions even when not passing the `-p`, `--preserve-permissions` or `--same-permissions` switch?

From man 1 tar: [...] -p, --preserve-permissions, --same-permissions extract information about file permissions (default for superuser) [...] --no-same-permissions ...
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: ...
0
votes
0answers
20 views

How to recover backup

I made a back up with the following commands: cd / sudo tar cvpzf /media/fred/New_Book/14.10BU2015Mar25.tgz I am attempting to recover with: cd / sudo tar xvpfz ...
0
votes
0answers
30 views

I'm unable to extract openvpn configuration files in the requisite folder

I'm getting the following error when I enter the command written below. I've already downloaded the configuration files needed to configure openvpn. My System: Ubuntu 15.04 32 bit ...
2
votes
3answers
126 views

simple tar and extract command

I am new to Ubuntu (terminal especially) and I am experimenting with the tar command. I have created a /test folder containing one single /test.txt file at /var/www/html/test/test.txt. I would like ...
2
votes
1answer
878 views

Piping with SSH and split the file

Im using tar zcf - stuff | ssh user@server 'cat > data.tar.gz' Is there a way to split the file on transfer? Something like this: tar zcf - stuff | split -b 5G | ssh user@server 'cat > ...
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
0answers
15 views

Never Hide “Compress” In Nautilus

When a file of basically any format or file extension (I don't know which of them is used to differentiate in this case) is right-clicked in Nautilus, there is this neat entry of File Roller called ...
0
votes
0answers
15 views

How do I install virt-manager from a .tar.gz file? [duplicate]

How do I install virt-manager from a .tar.gz file? I used the tar -zxvf file.tar.gz command. But when I use virt-manager --version, I see the old version. I think if I use the apt-get command, the ...
0
votes
2answers
45 views

Why am I not being able to tar /opt and move it to my USB location in Linux

I am trying to preform this command to tar /opt and move it to my usb with directory: /media/usb-sdb1-1-7-1/ However I am getting an error here is the command I am preforming: tar czf ...
0
votes
1answer
1k views

Using tar, the entire folder structure is including, I don't want that

I am taring a folder and for some reason the entire directory structure that preceds the folder I am tarring is included. I am doing this in a script like: 'tar czf ' + dir + '/asdf.tgz ' + dir + ...
5
votes
2answers
9k views

sudo tar cvpzf exiting with failure due to previous error

I looked at the other question addressing this issue but I think I might have a different setup. I too am trying to backup my Ubuntu machine, but here is the difference. I used Wubi to install Ubuntu ...
2
votes
1answer
225 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
0answers
19 views

How to Install Packages From Taz.xz Files [duplicate]

I have recently been trying to install more packages from the source rather than through the software manager or online repositories. However when i am trying to install Pango or any other package ...
0
votes
2answers
118 views

Installing Opera Mobile Emulator tar.gz files

I am new here can anyone help me out!. How can i install a tar.gz file through the terminal. I've been trying to install the Opera Mobile Emulator.
0
votes
0answers
27 views

Install Perl Audio Converter for Nemo

I wanted to start using the Perl Audio Converter. I also use Nemo and apparently there's an extension for Nemo. I have downloaded the file pacpl-nemo-0.1.1.tar.bz2 from here: ...
0
votes
0answers
16 views

unzipping files [duplicate]

I'm new to Linux. I found that to unzip tar files we use tar -zxvf filename or tar -zvf filename. can someone please give me some details... like any meaning behind each letter 'z','v','f'. how to ...
3
votes
2answers
137 views

Adding the tar '-z' (gzip) parameter at the end of 'tar -cvpfz …' doesn't work as expected

I was using the answers from Copy files without losing file/folder permissions question, when I ran across this interesting and unexpected behavior. Using tar cvpfz target.tar.gz dir1 works ...
0
votes
0answers
84 views

Ubuntu MATE Raspberry Pi image defect?

I downloaded the official Ubuntu MATE for Raspberry Pi image on their site. Strangely enough I am not able to un pack the tar ball either using the Archive Manager or command line tar xvf command. It ...
1
vote
2answers
71 views

ssh into a server and download data

So I've been using this command tar zcf - * | ssh root@ip "tar xzf - -C home/minecraft/multicraft/servers/server2" to upload stuff to other servers. However I have to be in the ssh of the server ...
288
votes
9answers
509k 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 ...
2
votes
0answers
17 views

Concepts of archiving all the user accounts in Ubuntu

I have given a task to archive all the user accounts for a given batch and delete the user accounts of the students for that batch. Such archiving could be useful for setting up the system for the ...
5
votes
2answers
299 views

How to suppress tar error messages in when piping

For example: I extract a tar.bz2 file with tar -xvf instead of tar -xjvf: tar -xvf file.tar.bz2 tar: invalid tar magic and if redirect stderr tar -xvf file.tar.bz2 2>/dev/null it works. ...
0
votes
2answers
158 views

Problem extracting tar file

I have tried the command : tar -xjvf FileZilla_3.7.1.1_*-linux-gnu.tar.bz2 After Giving this command getting these errors : tar (child): FileZilla_3.7.1.1_*-linux-gnu.tar.bz2: Cannot open: No ...
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
1answer
165 views

Installed grub on flashdrive

I downloaded Ubuntu 14.04 on my flash and then deleted windows as I ran Ubuntu on my USB drive. I found out after research I downloaded the grub on my USB drive. I tried basic commands to fix it and ...
1
vote
1answer
66 views

How can I check a compressed file for reliability?

I have a 5GB folder with my research from last year. To save space, I compressed the folder, and all its contents. The compressed file *.tar.xz, is 761MB, which seems really tiny. That made me wonder: ...
0
votes
1answer
45 views

Refusing to create an empty archive

I have a problem with this command: su -c 'tar zcvf yourname.tar.gz/etc/var/' Here is the website for my class assignment. Some of these command do not work correctly. Help!
2
votes
0answers
55 views

Why the tar file is so big? [closed]

I created a tar file of a directory. The directory is a few MBs big. The tar file has a size of more than 150 MBs!!! I created the tar file with the command: tar -cf <tar filename> ...
1
vote
2answers
248 views

CRC error during extraction of downloaded compressed tar. Tar file is intact

I have downloaded a compressed file from http://ds.arm.com/downloads/. File details are DS500-BN-00019-r5p0-21rel1.tgz(64 bit) When I try to extract this file using the following command tar -zxvf ...
2
votes
1answer
53 views

Cant find configure file in tar.gz [closed]

I was trying to install Kompozer. I've downloaded the tar.gz file and tried to install it. After unzipping I can't find the configure file in it. How could I install it?
1
vote
1answer
3k 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 ...
3
votes
1answer
19k 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): ...
4
votes
2answers
1k 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 ...