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
2answers
2k 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
1answer
825 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 (child)...
0
votes
1answer
109 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
3k 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 ...
1
vote
1answer
604 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?
2
votes
1answer
60k 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
32 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
2k 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 /media/...
1
vote
1answer
4k 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 ...
0
votes
4answers
2k 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
290 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 ...
-2
votes
1answer
140 views

How do I use GROMIT?

I downloaded the gromit-20041213.tar.gz file, extracted it but now what? How do I use GROMIT?
2
votes
1answer
1k 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
vote
1answer
52 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 great....
3
votes
1answer
41k 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 : /data/repo/temp/...
2
votes
2answers
80 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
27 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, ...
0
votes
2answers
229 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
121 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 ...
0
votes
2answers
913 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... ...
0
votes
1answer
56 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). ...
0
votes
1answer
2k 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
958 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
108 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 /...
1
vote
1answer
290 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
706 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. I'...
0
votes
2answers
169 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 ...
-1
votes
1answer
2k 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 ...
1
vote
1answer
69 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
753 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. ...
1
vote
2answers
2k 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
193 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 ...
30
votes
2answers
162k 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
2answers
483 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 tor-browser-linux32-3.6.2_enUS....
0
votes
1answer
211 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
295 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 ...
4
votes
1answer
7k views

How do I install a .so file? - newbie

I downloaded freeverb.tar.gz which contains a plugin library (freeverb.so) for Audacity. I extracted the .tar.gz file to my downloads folder but I don't know what to do next. There is no Readme ...
1
vote
2answers
3k views

Installing rtl8812AU_linux_v4.2.0_6952.20130315.tar.gz

Hi while trying to get the drivers for my "EDIMAX AC600 Dual-Band High Gain Wi-Fi USB Adapter" I run into the following problem: After sudo apt-get install build-essential and cd /home/"USERNAME" I ...
1
vote
1answer
1k views

Install haroopad correctly from tar.gz

Before you mark this as a duplicate of How do I install a .tar.gz (or .tar.bz2) file? hear me out first. I downloaded the haroopad-v0.12.0_i386.tar.gz file from the haroopad website and extracted the ...
0
votes
1answer
1k views

How to install JRE 7u60 on Ubuntu 14.04 using the tar.gz file? [duplicate]

How do I install JRE without PPAs or anything but the tar.gz file I downloaded from: http://www.java.com/en/download/manual.jsp?locale=en
4
votes
1answer
26k 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): apache-cassandra-2.0.3-...
2
votes
1answer
392 views

How to install «Hip Hop» on Ubuntu 14.04

I would like to try Hip Hop on Ubuntu 14.04, but on the website, there is only a .tgz file, and I have no idea how to install it. There is no .deb in the compressed file. Does anyone have an idea ?
1
vote
2answers
3k views

Can I make a package .deb from .tar.gz or .tar.bz2? [duplicate]

If I had an application with .tar.gz or .tar.bz2 extension can I transform it to a package .deb ?
0
votes
1answer
179 views

Permission error trying this backup script

I am trying this Backup Shell Script from the server guide. Granted it's for my desktop running Xubuntu 14.04. The NFS is mounted and accessible. The script has been created and edited with the ...
2
votes
2answers
3k views

how to extract multiple zipped and rar files recursively?

I have a folder ExampleFolder which contains many zipped folders. These zipped folders also contains multiple zipped folders. How to go through ExampleFolder and extract all of its zipped folders ...
1
vote
1answer
182 views

Restoring backup with tar

hi i'am usin Ubuntu server 14.04 I want to backup all data in /mnt/backups/(pictures music etc.) i use: tar -cvpzf backup.tar.gz /mnt/backups/ and i want recover into /home/john/recover/ i use: tar ...
2
votes
1answer
6k views

Install Dwarf Fortress?

I'm trying to install Dwarf Fortress, and you have to unpack the file in a certain way. Here are the instructions they give: Unpacking: Dwarf Fortress is shipped as a (bzip2) compressed tar ...
0
votes
1answer
68 views

tarball to another drive

I'm just creating a tarball of a corrupted USB NTFS Windows drive which I mounted in /media. Instead of creating the tarball in on the drive itself /dev/sdb2 I wish to have it created on my own drive /...
3
votes
3answers
1k views

Open pdf in tar.gz without extracting

I have a tar.gz which have pdfs in it I want to open a specific pdf without extracting it Is this possible using terminal through some command (I know we can do it using GUI but I want to use terminal)...
11
votes
3answers
25k views

What does tar's -p (preserve permissions) flag actually preserve?

What does the -p flag actually preserve when creating and extracting a tarball? Is it the rwx permissions it preserves? When I created a htdocs/ tarball owned by root, extracting it to my local ...