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

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 ...
1
vote
1answer
25 views

.tgz extract error like data --format violated

I have BSP folder for embedded computer.for booting from on board manufacturer given one .tgz file.I am trying extract those file using the cmd like tar -zvxf filename.tgz I have logged as root ...
356
votes
9answers
652k 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
0answers
13 views

create zip or tar for directory or files in a directory, A, then extract in the same directory A

Is there a way to extract files in a ~.tar to the location of which those files were zipped or tarred? For example, say you make test.tar to store a directory in ~/Documents/some_dir. Then you carry ...
0
votes
2answers
3k 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: mediatek/custom/common/lk/lcm/hsd070idw1/...
1
vote
2answers
41 views

tar -xvzf [filename] creates an extra directory

I have a tar file in /var/www/orbitcode/public_html/orbit.tar.gz when I unzip it using tar -xvzf orbit.tar.gz a new pub_html directory is created. The path of the extracted files is /var/www/...
1
vote
1answer
65 views

bzip2 error ubuntu 16.04 (xenial)

I downloaded a file from lynx sources site: http://invisible-mirror.net/archives/lynx/tarballs/?C=M;O=D Specifically this file: lynx2.8.8rel.2.tar.bz2 (tried several from the site). When I apply ...
1
vote
1answer
121 views

How to install .tar.gz files which don't have .config file?

I understand that a .tar.gz file can contain anything, but many software packages are available for download as .tar.gz. In my example, I am trying to install the flash player. I downloaded the file ...
5
votes
1answer
10k 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
0answers
24 views

Tar Archive Update And Delete Parameters

I use -uvf parameters to tar my home folder, but it accumulates files and I soon run out of disk space. What combination of parameters rewrites only changed files and removes deleted?
0
votes
0answers
19 views

How do I install USB_Driver.tar.gz? [duplicate]

I am attempting to link my smart phone (ZTE) with my computer running Ubuntu 12.04. I have followed the directions on a file that appears on the screen when I plug the phone into the computer. This ...
1
vote
1answer
53 views

How to install Ralink 3290 Wireless Card Driver “correctly”?

Let's start by saying I'm still a total noob to Linux, my problem is that I'm trying to install a driver for my Wireless Card and got an error while trying to install the driver by using the command ...
2
votes
1answer
31 views

TAR a folder with exlcusions

I'm trying to create a compressed TAR file. I have a disk that I am going to destroy and would like to take one last snapshot of the /users folder but don't want the users .m4v .m4a and .mp3 files ...
-1
votes
1answer
18 views

How can I check an “unexpected EOF” in my .tar.gz file?

Hi I have a problem with a .tar.gz file wich has backup of family photo collection and so. I've tried gzrecovery toolkit and i did gzrecover file.tar.gz and cpio -F file.tar.recovered -i -v Buy i ...
328
votes
3answers
441k views

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

I thought tar archive.tar /users/mylocation would work, but it doesn't. How can I do that?
0
votes
0answers
88 views

How to Verify/Restore Whole-System Backup of tar czf?

I want to test that the whole system backup corresponds to the original. It would be great to understand some basic tests about rapid quality assurance because I do not have time to always .untar it ...
0
votes
1answer
45 views

Unpacking bz2 with tar

Extremely new to the command line (read: no clue what I'm doing), so I have been trying to teach myself some basic commands by doing some run of the mill stuff. Currently trying to install Marathon on ...
1
vote
1answer
38 views

'tar' command '--remove-files' option

If I am trying to archive files in loop using tar command with --remove-files option. If some exception occurs in mid of execution, will the --remove-files option delete the current operating file or ...
0
votes
0answers
32 views

how to exclude application/x-executable files in below command

need to add application/x-executable file types in below command. there is no extension for those of files. the only thing i know is the file type is application/x-executable --exclude={.*,*.cbp,*....
0
votes
2answers
74 views

Converting tar.gz, etc. to deb

I was wondering if it is safe and/or advisable to convert "zipped" files to "deb"? Same zipped files require extensive terminal usage just to attempt to install and mistakes can be easily made. I ...
-1
votes
1answer
60 views

Download .tar.gz 14.04 [duplicate]

I know there's a lot of questions about downloading .tar.gz files, but I haven't found any that explain my problem. When I'm trying to install these files, using the ./configure make sudo make ...
-1
votes
1answer
58 views

Need help with untar command - want to untar from multiple .tar files and then move files to common directory [duplicate]

I have several tar files (~270) which untar into the following separate directory structure: 00001.tar -> /00001/001/file1.ima 00002.tar -> /00002/001/file2.ima . . . 00270.tar -> /00270/001/...
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 ...
12
votes
4answers
12k 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
117 views

Surface Pro 3 - installing kernel 4.6 [duplicate]

I am new to ubuntu. I just installed latest ubuntu and I am trying to install the latest kernel v4.6, so I can get a few functions of the type cover to work. I am not familiar with the kernel ...
0
votes
1answer
93 views

Can't Install Tor on Ubuntu Gnome 16.04

I tried to install Tor Browser by the instruction l found on Tor's official website. But I couldn't install it because of the following error come. My Input tar -xvJf tor-browser-linux32-5.5.5_LANG....
1
vote
2answers
113 views

Archive files by age using tar command

H All, I am trying to archive files older than specific duration, when I am trying to untar the tar file it retains the directory structure from root folder. I don't want to retain parent folders ...
1
vote
0answers
63 views

Compress a folder but skip compressing specific file types and include them as such

I am using tar with pigz to compress a folder and save a backup. Size of this folder ~190 GB or more. This folder has variety of content including numerous text and log files, ISOs and zip files in ...
9
votes
2answers
385 views

Make a new archive once per minute using “crontab”

I am trying to make a crontab that makes a new .tar file each minute every business day by using the following code: */1 * * * 1,2,3,4,5 tar -cf /home/user/Archiv/$(date +"%Y%m%d%H%M").tar /home/user/...
0
votes
1answer
26 views

trouble creating directory backups of selected directories

I have to a create directory backups of selected directories; each backup should have only one root directory; if multiple directories are selected, then each of them should be stored in a separate ...
32
votes
5answers
25k 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 ...
1
vote
1answer
51 views

What do I do after extracting *.tar.gz file? [duplicate]

I downloaded and extracted *.tar.gz file. Here's the link - Robomongo. Then I located a folder named Bin and double clicked on a executable file. The program started to run. I didn't have to install ...
0
votes
1answer
2k views

NEW popcorn-time.se Beta 3.2 installation - ./configure not found

Currently the Popcorn-time tar.gz available on the site is version 3.2 I have followed a few guides on here, youtube. there is only 4 files located in the tar.gz libffmpegsumo.so nw.pak package.nw ...
1
vote
1answer
57 views

How to perform differential backups with tar?

I know I can perform progressive (incremental) backups with tar using snapshots, I am doing something like this for the directory I want to create a backup for: tar cpf progressive.tar --listed-...
1
vote
1answer
37 views

tar slow on Ubuntu Server

I have two servers (accessed via SSH of the Internet), one with a high-end CPU and 32GB RAM. However, when I try to tar a large number of files (about 400,000) via the command: tar cvf archive.tar ...
2
votes
2answers
2k views

How can I prevent two shell scripts running at the same time?

I have a tar backup script that runs once a month. It runs at night through cron. I also have a power schedule that reboots the server at 4.15 every night. The problem is that the server reboots ...
0
votes
1answer
151 views

How to install tar.gz file? [duplicate]

I downloaded Apache httpd-2.4.18.tar.gz file. But I don't know how to install that one?!
0
votes
1answer
88 views

Lubuntu gtar not responding

I am using Lubuntu32 bit. ubuntu 15.10, linux4.2.0 32 bit in VM ware. I am trying to install prismtech DDS community edition for a cross compiler. In the instructions I was asked to use gtar ......... ...
0
votes
0answers
112 views

diff and vim -d give different result

I am working on Ubuntu 14.04 and I archived a folder folder-a with tar cfvz folder-a.tar.gz folder-a. When I needed the folder I untar the folder with tar xfvz folder-a.tar.gz. How I want to compare ...
1
vote
2answers
157 views

Extract specific folder from tarball into specific folder

I created a tarball on Ubuntu 14.04 with: cd /tmp tar -cfvz archive.tar.gz /folder Now I want to extract a specific folder in the tarball (which inside the tarball lies in /tmp) into a specific ...
1
vote
0answers
78 views

Files lost after tar command

I had a symlink called st and I wanted to compress it into a tar.gz archive. I ran the command: tar zcf st.tar.gz st The resulting archive st.tar.gz contains only a link to an empty folder called ...
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
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 ) ...
1
vote
1answer
145 views

problems with backup and tar in command line

I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab: Create a directory called backup and in it place a compressed tar ...
1
vote
1answer
98 views

What compression is supported by debian file [.deb] decompressor?

I know that a typical .deb file contains three files: debian-binary control.tar.gz data.tar.gz and that some are xz compressed instead of gzip (control.tar.xz, data.tar.xz). What are other ...
6
votes
2answers
932 views

How to archive with ignoring files larger than 100MB

I'm trying to archive files with tar and ignoring files larger than 100MB. Is that possible? PS: Not have to use tar.
-1
votes
1answer
44 views

Externally installing netwide assembler in Ubuntu

I have downloaded the tar.gz file of nasm and extracted it on my desktop. But I don't know how to install it. Please can anyone tell me how to install nasm externally on Ubuntu. Thanks in advanced
1
vote
2answers
5k views

(tar: /dev/nst0: Cannot read: Cannot allocate memory) with tar, pv and tape drive

I'm trying to use pv (pipeviewer) along with tar to do tape backups in order to see the progress and eta like so: du -s /home/myuser 115630916 /home/myuser tar -cf - /home/myuser/ | pv -s 115630916 ...
0
votes
2answers
50 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 cccccc....
0
votes
1answer
100 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?