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

0
votes
1answer
33 views

Compressing a folder (tar) without its containing directory in the foldername

I am trying to compress a folder with tar command. When i trying to compress it , it works fine the problem is with the file name. source path : /data/file/ destination path : ...
125
votes
2answers
191k views

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

I think tar archive.tar /users/mylocation will work. But it doesn't. How can I do that?
0
votes
1answer
51 views
0
votes
0answers
8 views

Writer error when using tar to make a backup to a Windows network share

Hello, I'm a newbie to linux. I created a share in a windows machine named: //rui-pc/caixamagica Also a mounting point: /mnt/caixamagica and I want to backup my "/" (root) to that network drive.. ...
0
votes
0answers
21 views

Microsoft Access Database (.mdb) corrupted after backup on ubuntu server

On my network I host several Microsoft Access databases in a folder shared with samba. I also backup the databases every day using SimpleBackup, which sticks them in an uncompressed .tar folder. When ...
0
votes
2answers
18 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?
1
vote
1answer
16 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
2
votes
2answers
17k 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.
0
votes
2answers
50 views

How do I run/install Ubuntu Touch?

Sorry my English is not good. I'm translating. I got ubuntutouch 14.10 download the file format is Tar.gz How can I install this file? When I extract it to a folder that contains 1.5 GB of built ...
1
vote
1answer
51 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
52 views

Issue moving a file and error when unzip

Not sure if this is as weird as I see it But anyway I'm installing kippo-graph "data visualization tool" on Ubuntu Server 14.04 LTS but after I download the file which is (kippo.tar.gz) and I move ...
0
votes
1answer
547 views

How do I install the game eggnog (without using wine)?

Here is where the game's files can be found: http://madgarden.net/junkz/files/eggnogg. I tried following the instructions here:How do I install a .tar.gz (or .tar.bz2) file? to install eggnog, but I ...
0
votes
2answers
57 views

Using cpulimit on a command rather than a PID

I am trying to use cpulimit on a command, like: cpulimit -e 'tar -chzf [...]' -l 50 but cpulimit seems not to be able to start the process: Warning: no target process found. Waiting for it... ...
2
votes
1answer
33 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 ...
0
votes
1answer
36 views

running a tar command eats all resources

I am running a Rails application on my ubuntu 12.04 server. I have set up a cron job to take backup of all files uploaded to my application every morning at 2 am. It is a lot of files (around 900 mb). ...
9
votes
2answers
33k 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??
0
votes
1answer
70 views

curl to tar to zip not working properly

I am wanting to download an tar.gz archive, extract it and compress it into a zip file in one command. Reason for this is to be independent from temporary files. The command I use: curl -L "someURL" ...
0
votes
1answer
108 views

Extract tar.gz to STDOUT and zip STDOUT

I need to extract an tar.gz archive I downloaded with curl into STDOUT and use the STDOUT as STDIN for zipping the files again. curl -L someURL | tar xz --strip-components=1 -O| zip -r test.zip ...
0
votes
1answer
25 views

untar content of folder from tar.gz archive that get's data from STDOUT (wget)

I want to extract the content of a single folder from a tar.gz archive that get's it's input from the STDOUT of wget. My command looks like this: wget -O - http://example.com/file.tar.gz | tar -C ...
2
votes
1answer
10k 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: ...
1
vote
1answer
69 views

BASH script for extracting archives - how to make the script ask for folder destination?

I've started using the bash script below, for unpacking archives. How would I go about making the script ask if I would like to specify a folder, or just use the default folder to extract to? I'd ...
2
votes
1answer
330 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. ...
0
votes
2answers
34 views

How do I compress a directory auto use directory name?

I have to assign file name when I use tar tar -zcvf xxx.tar.gz /home/xxx I always use history command , and alter the directory name and tar file name.I would make mistake at sometime to input a ...
0
votes
0answers
36 views

CRC error when trying to open archive with gzip/tar

When I run the command tar xvf ns-allinone-2.28.tar.gz it gives the following error: ns-allinone-2.28/tclcl-1.16/tkAppInit.cc gzip: stdin: invalid compressed data--crc error tar: Child returned ...
-1
votes
1answer
168 views

How can i install peerguardian?

I tried to install PeerGuardian and expected it to be a simple run and install... but its a tar.gz! I’m completely new to Linux and have no idea what that is, how to install it, or how safe it is! Can ...
0
votes
2answers
62 views

Where to “--exclude” the specific directory's in mine backup script using tar

I want to backup my whole linux server but where do i --exclude=proc --exclude=sys --exclude=dev/pts --exclude=/var/backups . Please help!!! Here is my code. I may also have some errors in it. ...
26
votes
3answers
51k 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 ...
2
votes
2answers
4k views

tar: A lone zero block at 343398

while trying to extract a tar.gz file in ubuntu terminal an error happened int he last sentence here it is : tar: A lone zero block at 343398 what is the solution for this problem???
0
votes
0answers
15 views

JDK 8 installation from .tar.gz file [duplicate]

I have downloaded jdk-8u11-linux-x64.tar.gz from the oracle website, and I have done gunzip and tar -xf which extracted all the files into a jdk directory(/usr/local/src/jdk1.8.0_11). Now is that it ...
0
votes
1answer
106 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 ) ...
0
votes
3answers
53 views

can't compress whole file with tar?

I'm not an expert with tar (xz) but I have a video (FLV) and it's size 95MB I would like to compress it and I was using this command XZ_OPT=-9 tar -Jcvf myfile.tar.xz 1.flv (I got this from a ...
2
votes
1answer
1k views

How to unzip .tgz file from /media directory using terminal?

I've downloaded mongodb-linux-x86_64-2.6.3.tgz file using windows 7 and kept it on D:\Amra\Software\Developing Soft location. When I right click this .tgz file using Ubuntu and see property it shows ...
0
votes
2answers
117 views

How to extract this package archive

I am trying to extract a certain file in the downloads folder and instructions given to me are as follows: Type the following in terminal and it will be done tar -xvJf ...
0
votes
1answer
61 views

Installing from Tar.gz Permission Denied

Total Linux noob. I have worked in the WinTel world as a network/sys admin for going on twenty years. Its time for me to get my feet wet with Ubuntu. Let me preface this with the following: I have ...
0
votes
1answer
58 views

Tar Gzip Every n Files in a Directory

I have a folder with 7,491 files in it. I'd like to tar gzip these in batches of 100, e.g. first 100 files > archive1.tar.gz files 101-200 > archive2.tar.gz files 201-300 > archive3.tar.gz ...
1
vote
1answer
291 views

How do I install a .so file? - newbie

I downloaded freeverb.tar.gz which contains a plugin library (freeverb.so) for Audacity. I extracted the .tar.gz file to my downloads folder but I don't know what to do next. There is no Readme ...
0
votes
1answer
144 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 ...
0
votes
1answer
267 views

Install haroopad correctly from tar.gz

Before you mark this as a duplicate of How do I install a .tar.gz (or .tar.bz2) file? hear me out first. I downloaded the haroopad-v0.12.0_i386.tar.gz file from the haroopad website and extracted the ...
0
votes
1answer
701 views

How to install JRE 7u60 on Ubuntu 14.04 using the tar.gz file? [duplicate]

How do I install JRE without PPAs or anything but the tar.gz file I downloaded from: http://www.java.com/en/download/manual.jsp?locale=en
0
votes
1answer
2k 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): ...
1
vote
1answer
87 views

Trouble installing specific .tar.bz2

I've used Ubuntu for over a year now and I have never gotten the hang of tarballs. I have a .tar.bz2, I've extracted it but I can't figure out where to go from here. I tried running ./configure but I ...
0
votes
0answers
10 views

Archive format with index table that preserves executable bit?

The title basically sums it up. I like how zip is fast (basically you can instantly open it and look what's inside), but I need to keep executable flag for files, like tar.gz does. Is there any ...
0
votes
2answers
930 views

Too many symbolic links error

I am attempting to use LFS to make my own distro (for fun, nothing important) but keep running into issues. As it suggests, I am running a non-admin user account. However, every time I attempt to ...
2
votes
1answer
304 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 ?
0
votes
2answers
64 views

noob: uninstall eclipse from 12.04 precise

I'm very new to ubuntu. Today I've installed eclipse kepler, I got it not from the terminal, not from the software center but from their website. It simply downloaded .tar.gz file which I extracted ...
2
votes
2answers
825 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 ...
1
vote
2answers
66 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 ?
0
votes
1answer
86 views

Permission error trying this backup script

I am trying this Backup Shell Script from the server guide. Granted it's for my desktop running Xubuntu 14.04. The NFS is mounted and accessible. The script has been created and edited with the ...
145
votes
6answers
234k 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 ...