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
1answer
4k 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
1answer
275 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 ...
2
votes
2answers
21k views

How to install TestDisk from source

I have just come downloading a software called testdisk-6.14-WIP.linux26.tar.bz2. Therefore I'm wondering how to deal with the installation.
2
votes
1answer
1k views

Can't un-tar LibreOffice 4 download

I've tried this guide How do I install LibreOffice 4? But I get this message Can someone please explain why this is happening? And can someone tell me how to download it?
2
votes
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 ...
2
votes
4answers
195 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 ...
2
votes
2answers
69 views

Archiving a lot of files / one big file

I want to compress about 100'000 files (that's what find . -type f | wc -l says) with a total disk usage of 100 GB. Most of the files are small but just a handful of them makes up about 70 GB of the ...
2
votes
2answers
43 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?
2
votes
1answer
11k 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): ...
2
votes
1answer
142 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 ...
2
votes
1answer
771 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 ...
2
votes
3answers
249 views

Overwriting files when extracting from a tar archive

I play OpenTTD. There are three versions available and I want to have all three; stable, testing and nightly. I downloaded and compiled the source code for all three with no problems. The issue is ...
2
votes
1answer
178 views

Troubles Saving tar.gz

When trying to package .tar.gz files from folders (backup) using this script tar -zcvf desktop.tar.gz /home/USER/Desktop/ It's suppose to be saved as 'desktop.tar.gz' and its a copy of ...
2
votes
1answer
3k views

automate transfer of tar files over FTP

Every day I have a script making .tar files of aparticualr directory. Once every day, I would like to transfere the new tar file made that day to a remote server over FTP. I would like to make this ...
2
votes
1answer
61 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 ...
2
votes
1answer
226 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 ...
2
votes
1answer
587 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. ...
2
votes
1answer
344 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 ?
2
votes
2answers
2k 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 ...
2
votes
1answer
296 views

Cannot delete a tar.bz2 file from pendrive

I want to delete a tar.bz2 file from my pendrive. I tried shift+delete, but nothing happened. Then in terminal I tried sudo rm command, I got the following error - rm: cannot remove `avi.tar.bz2': ...
2
votes
1answer
2k views

tar file bigger than original folder?

I used "Compress" from Nautilus to a 36MB folder. It created a tar called fs.tar.gz. This fs.tar.gz has the size of 98MB. How can this be possible? I did read somewhere that symlinks or something ...
2
votes
1answer
742 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 > ...
2
votes
0answers
43 views

Why the tar file is so big? [on hold]

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> ...
2
votes
1answer
19 views

Cant find configure file in tar.gz

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?
2
votes
1answer
125 views

Tar restore from tape fails

I have a basic backup to tape script and restore script that was written by a previous admin. When trying to restore from tape, I get the following error: tar: v: Cannot open: No such file or ...
2
votes
1answer
44 views

tar delete progress not shown?

I was trying to use tar command , --delete option and met some problems. There are two things I don't understand: when using --verbose option with combination of --delete option, nothing shows as ...
2
votes
0answers
286 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 ...
2
votes
2answers
944 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 ...
2
votes
2answers
245 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 ...
1
vote
3answers
3k 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 ...
1
vote
2answers
2k views

Installing a tar.bz2

I am trying to install laidout-0.0o91.tar.bz2. its a publishing program for Linux. can you please give me the right terminal instructions to install this on my system.
1
vote
3answers
159 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 ...
1
vote
2answers
1k views

How to quickly extract all kinds of archived files from command-line?

Many times I need to extract different kinds of archived files using commad-line. But not all the time I remember the exact command for any type of file archive. So, I have to waste time and search ...
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 ...
1
vote
1answer
7k views

How to download a .tar.gz file from a redirected link in terminal?

I want to download the file at http://www.snort.org/downloads/1806 as a .tar.gz file using terminal but the problem is that when I use: sudo wget http://www.snort.org/downloads/1806 It downloads a ...
1
vote
1answer
1k 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
337 views

What is the correct software to open a .tar file?

I want to be able to play the game N, but I can't figure out what to use other than archive manager to open it. Here is the link to the game download.
1
vote
1answer
549 views

Directly compress stdout

can someone tell me if is possible to directly compress stdout? I would like to do this in one step without creating temporary file files.txt... Example: cat file* > files.txt tar -czf files.tar ...
1
vote
1answer
17k 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 ...
1
vote
2answers
530 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 ?
1
vote
1answer
783 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 ...
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 ...
1
vote
2answers
171 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
21 views

trying to copy from root to user

I mounted a folder inside my C drive to a root path of mnt/myFolder now I am trying to copy the contents of that folder to /home/dev/build/mysource I used that command that was taught by my senior ...
1
vote
1answer
34 views

backing up and compressing /home directory using lzma

Will this work? sudo tar -cvpf backboxhome.tar.gz/home/user --lzma I am mainly confused on where to place the --lzma argument.
1
vote
1answer
528 views

How to install qpdfview 0.4.14?

I have been using the 0.4.12 build for a couple of months now and am ready to update to 0.4.14. I've tried a couple of things to install it but for fear of screwing up my Trusty environment I thought ...
1
vote
1answer
87 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 ...
1
vote
1answer
3k views

Problem with extracting a .tar.gz file

I've downloaded a '.tar.gz' file from here. File size is 152 MB. The downloaded file size is 450 MB on my computer !! I tried to extract that file but I get below error : gzip: stdin: invalid ...
1
vote
2answers
17k views

Error with 'tar' commad, “Cannot open: No such file or directory” [closed]

I am trying to connect my Xbox with my laptop using uShare. For that I am following exactly what I have to do according to Installation of uShare on Ubuntu documentation. Unfortunately, at step 3 ...
1
vote
1answer
390 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 ...