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
4answers
627 views

How to tar the n most recent files with spaces in filename?

I am trying to create a script that foreach directoy in the folder folder, only the n most recent files are to be compressed. However, I am having trouble with the multiple word files. I need a way ...
3
votes
2answers
26k 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.
3
votes
2answers
454 views

Why does gzip on tar output always produce different results?

What I expect from two commands which always produce the same output on their own, is them to always produce the same output when put in a pipeline, but apparently this is not the case for tar | gzip: ...
3
votes
2answers
7k 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 ...
3
votes
4answers
234 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 ...
3
votes
3answers
687 views

Creating tar fills system cache

My situation is pretty simple: I backup-ed some of my documents and put them on a NAS and since I rather transfer one big file instead of million small ones, I created a tar tar cf ...
3
votes
1answer
9k 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 ...
3
votes
3answers
3k views

Installing μTorrent

Hello i'm trying to install uTorrent to my Ubuntu 11.04 I'm downloading it from here . But it's a .tar.gz file. I'm untaring it with tar -xzvf utorrent-server-3.0-25053.tar.gz command. But there ...
3
votes
2answers
178 views

Adding the tar '-z' (gzip) parameter at the end of 'tar -cvpfz …' doesn't work as expected

I was using the answers from Copy files without losing file/folder permissions question, when I ran across this interesting and unexpected behavior. Using tar cvpfz target.tar.gz dir1 works ...
3
votes
1answer
23k 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): ...
3
votes
1answer
22k views

gzip: stdin: unexpected end of file -> problem in extracting jdk-7u55-linux-x64.tar.gz

I have downloaded 'jdk-7u55-linux-x64.tar.gz' When I execute following command to extract, sudo tar xvzf jdk-7u55-linux-x64.tar.gz also tried, sudo tar xvf jdk-7u55-linux-x64.tar.gz sudo tar xf ...
3
votes
3answers
4k views

Installing software without Ubuntu Software Center

I have a file downloaded from the Internet. To be specific I downloaded Code::Blocks from its official site. The file name is codeblocks.tar.bz2. If I don't have Internet connection and also ...
3
votes
1answer
190 views

What is the difference between a deb package and a binary package? [duplicate]

I am not sure if it's true to say when you download a package from Ubuntu repository, then that it will be a debian package and if you download only a tar file and use make command to install it, than ...
3
votes
1answer
71 views

Move GZ archives with specific content

After a restoration of my HDD with PhotoRec I have a folder with 36,500 GZ archives. Of those, around 200 are very important for me. Each of these archives contains exactly one TAR archive. These TAR ...
3
votes
1answer
291 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
7k 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 ...
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
3answers
168 views

simple tar and extract command

I am new to Ubuntu (terminal especially) and I am experimenting with the tar command. I have created a /test folder containing one single /test.txt file at /var/www/html/test/test.txt. I would like ...
2
votes
2answers
158 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
77 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
158 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
876 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
490 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
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
195 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
4k 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
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 ...
2
votes
1answer
369 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
925 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
695 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
386 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
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 ...
2
votes
1answer
348 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
923 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
17 views

Concepts of archiving all the user accounts in Ubuntu

I have given a task to archive all the user accounts for a given batch and delete the user accounts of the students for that batch. Such archiving could be useful for setting up the system for the ...
2
votes
0answers
57 views

Why the tar file is so big? [closed]

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
66 views

Cant find configure file in tar.gz [closed]

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
209 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
54 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
314 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
966 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
255 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
3k 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
1answer
56k 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 ...
1
vote
3answers
163 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
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
1k views

./configure: No such file or directory while installing tar.gz

I am new to the Ubuntu. I tried to install pycharm-community-5.0.tar.gz with following command: tar -xzf pycharm-community-5.0.tar.gz cd pycharm-community-5.0 ./configure it says ./configure: ...
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
437 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.