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

6
votes
2answers
1k views

Can I safely remove a tar archive after extracting it?

Or am I supposed to save them for some reason?
10
votes
1answer
17k views

How do I extract a specific file from a tar archive?

Hi is possible to restore a single file from the .tar backup ? I dont want to restore total backup . i just want to restore one single file from the backup .
1
vote
2answers
4k views

Why compressed directories cannot be extracted in /opt?

I am not able to uncompress a file with .tar.gz extension Did sudo tar -xvzf ~/Downloads/file.tar.gz /opt/ but no success. it says: tar: /opt: Not found in archive tar: Exiting with failure status ...
0
votes
1answer
2k views

How to run the ChromePlus browser in Ubuntu?

I'm new to Linux Ubuntu. I was using ChromePlus in Windows 7, it also has a Linux version. So I downloaded it. It's a chromeplus*.tar.gz file. I use the command tar xvzf chromeplus*.tar.gz to unzip ...
0
votes
1answer
651 views

I need to install my sql server 5.1 where there is no internet connection

Please kindly help me at the following issue. Currently I don't have an Internet connection and I need to install MySQL server on Ubuntu 11.04 without any rpm packages. I have only the tar file with ...
28
votes
3answers
60k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
3
votes
1answer
3k 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 ...
2
votes
0answers
274 views

How can I tweak this split-tar-gz-archive script?

I came across this shell script that can be used to split an entire directory across multiple compressed files. I am interested in making a minor tweak to this script. Lets say I have n GB of files ...
1
vote
1answer
4k views

How can I backup and encrypt with tar, split and openssl, all in one command?

I often use tar to backup my stuff in 4 gigabyte chunks to a directory on a FAT32-formatted disk, as documented here. To get that done, I use the following command: tar -cvpj /path/to/directory/ | ...
1
vote
1answer
1k views

How to install a download .tar.bz linux kernel?

I have downloaded the latest stable linux kernel release from this site kernel.org My question is, how do I install it in Ubuntu 12.04?
2
votes
4answers
184 views

Which kind of installation files should you prefer - .deb or tarball files? And why?

I have just starting Ubuntu as my primary OS and everytime I have to install something I generally try to find .deb files as that seems convenient, but someone on another forum told me I should always ...
1
vote
1answer
1k 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 ...
1
vote
1answer
559 views

How to unpack a tar file into a blank disk image?

I'm trying to unpack a tar file in to a disk image which I created. I have no idea how to do it, Since the disk image .img is not a directory. Can anyone give some suggestions? By the way, I have ...
2
votes
1answer
12k views

“Cannot open: Permission denied” when creating a tar file

I need to to create a archive from my ftp server (all of the /usr/src/ directory) using tar command. However I keep getting permission denied error. Here is step by step what I am doing: ...
4
votes
2answers
3k views

Is there a way to `tar` extract without clobbering

Is there a way to tar extract without clobbering? I am installing 12.04 and want to restore my data from 10.10. Anything 12.04 specific I would like to keep, that is I do not want the tar'd 10.10 ...
0
votes
1answer
372 views

Which DNSExit client to download for Natty (11.04)? Rpm or Deb?

I have an Ubuntu 11.04 server set up to host some websites and I have a dynamic IP address. I am using DNSExit.com to handle the DNS routing to the IP address and would like to install their DNS ...
3
votes
2answers
13k views

cannot install application from source using tar.gz archive

I tried to install utimer (https://launchpad.net/utimer) by following the below steps. $ tar -zvxf utimer-0.4.tar.gz $ cd utimer-0.4 /utimer-0.4$ ./configure /utimer-0.4$ ls aclocal.m4 autogen.sh ...
3
votes
1answer
263 views

Removing a tree

CODE EDIT So now that I'm off work I can do a little coding in my free time. The way that I think I want this to work is take a tarball (what I would normally extract to a folder anyway) and compare ...
0
votes
1answer
889 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 + ...
2
votes
1answer
137 views

What happens when I drop a file on archive in Nautilus?

I had this file structure: 2000/ 001.txt 002.txt 003.txt ... 2001/ ... 2002/ ... ... 2011/ I guess file structure doesn't matter, but anyway... So folders are representing couple of ...
1
vote
1answer
672 views

Estimating compressed file size using a list parameter

I am currently compressing a list of files from a directory in the following format: tar -cvjf test_1.tar.gz -T test_1.lst --no-recursion The above command will compress only those files ...
5
votes
1answer
493 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.
2
votes
2answers
925 views

Where and how to unpack tar.gz? [duplicate]

Possible Duplicate: How to install a .tar.gz file? I download for example flash player and eclipse. they are in tar.gz format. where i need to unpack them? is there some directory where all ...
1
vote
3answers
377 views

Trouble installing Mac OSX Lion theme

So I wanted to play a prank on some friends and tried to install the Mac OSX Lion theme from NoobsLab Mac OSX Lion Theme. To this point, I've only dabbled a bit with linux, so I'm still a little ...
1
vote
1answer
3k 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 ...
8
votes
2answers
10k views

Encrypt tar.gz file on create

I have a script which creates a nightly backup of several directories. It is created using tar -czf, and the destination tar.gz file path is on a mounted network directory. The resulting file is ...
0
votes
1answer
10k views

tar unpack : Unexpected EOF in archive

I have downloaded "eclipse-platform-3.7-linux-gtk-x86_64.tar.gz". Using Ubuntu 10.10 64-bit on Intel 64-bit processor. While trying to unpack the contents (either double-click or right-click & ...
1
vote
1answer
15k views

tar -cvfz command results in error message unless I omit the hyphen before 'cvfz' [duplicate]

Possible Duplicate: sudo tar cvpzf exiting with failure due to previous error When I run the command tar -cvfz backup.tar.gz somedirectory I get the following sterr tar: Exiting with ...
176
votes
8answers
286k 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 ...
4
votes
3answers
1k views

What's the difference between a compressed folder (with files) and a compressed Tar archive?

I don't understand the use of TAR. My understanding is it pulls together many files into one file. But doesn't putting files in a folder do this? Using ZIP, I put files I want to archive in a folder ...
1
vote
1answer
387 views

Can you help me remotely backup my filesystem?

The institution I work for wants me to backup the entire filesystem of a server and store it on another server. Both servers are running the latest release of Ubuntu. I'm having a little bit of ...
1
vote
3answers
157 views

any tarball autoinstaller out there?

can any one help me? the big problem of linux is that you have to type to install most of the apps! i'm searching for an application which can automatically install tarballs just by clicks(No ...
9
votes
2answers
40k views

Compress in .tgz

I want to compress files in .tgz. I know how to make tar.gz(with tar and gzip) and some people say it is almost the same, but I need to make a .tgz, how??
4
votes
1answer
14k views

How to install a tar.bz2 package

How can I install a tarbz2 package. Example: I have downloaded firefox 8 tar.bz2 . I want to know a general method for installation of tar.bz2 package.
1
vote
1answer
170 views

Script to automatically write file upon extracting some folder

I want to write script that will run in background and do following task: As soon as I extract "xyz.tar.gz" file to desktop it should write "a.cpp" file to desktop,and if a.cpp file already presents ...
1
vote
2answers
150 views

is it possible to damage tar files during hard power down?

So in this scenario: I create tar.gz file. with very important files. Before I power down computer, electricity goes out. is it safe to files written in tar file will not get corrupted? is it ok ...
1
vote
1answer
226 views

Is there any ncurses archiver interface available?

I am looking for a way to create archives on the commandline with some minimal ASCII interface. Could be for tar, zip or rar files, but should provide miniml ncurses (or other) "fake" graphical ...
2
votes
2answers
238 views

Backup Wubi installation using tar gives Permisson denied faults

I have been trying to backup my Ubuntu machine which is a Wubi installed Ubuntu alongside Vista. So far I have done the following First I navigated to my external hard-drive then I created a backup ...
4
votes
2answers
8k 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 ...
0
votes
3answers
647 views

tar: “Cann't stat: No such file or directory”

Following command sudo tar jcf /datos/backup/news/news.tar.bz2 -C /var/www/news news is giving "tar: Cann't stat: No such file or directory" error. How can I solve this problem? As it had been ...
5
votes
1answer
49 views

How can I build an installer by tracking filesystem changes?

Ages ago I used to package software on Windows using InstallShield AdminStudio. I used it for building customized installers for company applications from existing app installers. I'd like to do ...
4
votes
2answers
2k views

why does tar . see hidden files but ls . does not?

Why does tar cvpfz /tmp/backup.tgz . backup hidden files? (Note ls . does not see the hidden files. Trivia: there are ways to see hidden files such as with ls -a but this is just trivia. The ...
1
vote
1answer
144 views

Which is Opera Next's directory?

I recently installed Opera Next via tar. I saw it, "played" with it, and now I want to uninstall it. Where can I find it's directory? The package is neither in Ubuntu Software Center, nor in ...
4
votes
2answers
273 views

how would I create a tar without using sudo?

If I tar my /home/username and create the .tar file in /home/username, then I get an error of the sort . file changed as we read it probably because the directory file itself is changing due to the ...
25
votes
4answers
16k 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
671 views

backup by compress tar each directory

I’m looking for a method to scan a directory (not recursive) and tar it using the original folder name, and then delete the folder (so I will have only the folder compressed) Anyone has the command ...
1
vote
2answers
5k views

Where can I find Chromium binary tarballs?

Firefox's website provides binary tarballs that I can easily extract and run, is there anything similar available for either Chrome or Chromium? If not, how can I compile so I can run it the same way ...
1
vote
3answers
2k views

How do I extract a tarball, skipping some of the leading directories?

I am archiving a folder using following command: tar jcf "home/username/forum/forum.tar.bz2" /var/www/forum/ Then I am extracting using : tar jxf forum.tar.bz2 ./ It extracts correctly, but ...
0
votes
1answer
849 views

tar: Backing up an encrypted /home folder?

After some trial and error, I've managed to backup my Ubuntu 10.04 workstation and it's time for my Laptop. It also runs 10.04, but has an encrypted /home folder. Running the below snippet as root ...
3
votes
1answer
12k views

tar Exiting with failure status due to previous errors

I am trying to backup my Ubuntu workstation by the help of this guide and are running into trouble as the tar command outputs Exiting with failure status due to previous errors. Here's what I ...