Decompress a tar file into a folder
#1
Decompress a tar file into a folder
Sorry I’m really noob on Irix, how I can decompress a tar in a folder?
If I double click the system show me the file list into it but not decompress they.
TNX
indrema
O2

Posts: 11
Threads: 5
Joined: Sep 2018
Find Reply
09-22-2018, 08:24 PM
#2
RE: Decompress a tar file into a folder
(09-22-2018, 08:24 PM)indrema Wrote:  Sorry I’m really noob on Irix, how I can decompress a tar in a folder?
If I double click the system show me the file list into it but not decompress they.
TNX

Hi

tar is not a compression algorithm, it is more like a bundle of files. To untar a tarfile/tarball:

# tar -xvf file.tar

Regards,
Tru
TruHobbyist
O2

Posts: 43
Threads: 6
Joined: May 2018
Find Reply
09-22-2018, 09:14 PM
#3
RE: Decompress a tar file into a folder
I’m a Unix newbie myself. Here is what I do.. assume the filed is called file.tar

If the file is copied to your user folder, in my case the user folder is called bjames

Open Unix she’ll and navigate to your user folder where you copied the .tar file to.

Type
cd /user/people/bjames

To untar the file named “file.tar”

Type
Tar -xf file.tar

A folder will be created automatically for the contents of the tar file.

If you have a file called “file.tar.gz”. Which is a zipped tar file

Go to the folder that contains the file as above

Type

gunzip file.tar.gz

It will unzip the file into a tar file

Then untar the file by typing

tar -xf file.tar

Then your done

Octane 2x400mhz R12000A Octane, MXE, 4gig Ram

1600SW O2 400mhz R12000 O2, 1gig Ram AV1 - 250gig Media' raid

Indy 180mhz R5000 Indy XZ 256mb ram

Intel i7-990x 3.46GHz Extreme 6 core / Quadro 5000 & 2 x Tesla C2075 / 24gig Ram

Belkin Omniview SE Pro 4 port KVM connecting all 4 systems displaying on one 27" BenQ Zowie monitor.
bjames
Octane

Posts: 192
Threads: 50
Joined: Aug 2018
Find Reply
09-23-2018, 02:07 AM
#4
RE: Decompress a tar file into a folder
btw the "-" isn't needed, if your a lazy typer like me.

tar xf file.tar
gijoe77
Tezro

Posts: 469
Threads: 28
Joined: Jun 2018
Find Reply
09-23-2018, 04:22 AM
#5
RE: Decompress a tar file into a folder
Hi guys, TNX for all the reply I ‘ve do it.
indrema
O2

Posts: 11
Threads: 5
Joined: Sep 2018
Find Reply
09-23-2018, 10:04 AM
#6
RE: Decompress a tar file into a folder
(09-23-2018, 04:22 AM)gijoe77 Wrote:  btw the "-" isn't needed, if your a lazy typer like me.  

tar xf file.tar

If I recall you and also explicitly defing root output directory
tar -xvf file.tar /usr2/backup/movies

anyone? has my memory faded from lack of use
man tar will also give some ideas Cool
sgiseller
O2

Posts: 16
Threads: 3
Joined: Jan 2018
Find Reply
09-24-2018, 01:42 AM


Forum Jump:


Users browsing this thread: 1 Guest(s)