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
26 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
14 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 ...
320
votes
3answers
430k 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?
344
votes
9answers
632k 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
65 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
41 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
29 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
25 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
55 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
57 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
0answers
18 views

LTO 5 not reading [duplicate]

I have a quantum LTO 5 machine, the machine is in working order. I have it attached through a SCSI card. I have successfully written to an LTO 4 tape, but I need it to read, not write. I can write ...
-1
votes
1answer
42 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
votes
0answers
30 views

LTO 5 Tape Drive Problems

I have a quantum LTO 5 machine, the machine is in working order. I have it attached through a SCSI card. I have successfully written to an LTO 4 tape, but I need it to read, not write. I can write ...
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 ...
10
votes
4answers
11k 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
95 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
71 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
104 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
50 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
382 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
25 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
46 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
1k 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
44 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
31 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
112 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
70 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
110 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
139 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
62 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
129 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
78 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
906 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
4k 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
47 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
80 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
64 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
11 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
86 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
332 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
22 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 DESDIR=/home/ubuntulover/...
0
votes
1answer
25 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 /backup/os....
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
176 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
108 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 ...