Tar xvf in file


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Tar xvf in file
# 1  
Old 02-19-2013
Tar xvf in file

Good afternoom,
I have a file very big, when I execute
Code:
tar xvf  XXXXXX_2010.tar

, and show me this in the screen.

Code:
x XXXXXX_2010_(01_DE_18).ixf, 3330845041 bytes, 6505557 media blocks.
x XXXXXX_2010_(02_DE_18).ixf, 3336071703 bytes, 6515766 media blocks.
x XXXXXX_2010_(03_DE_18).ixf, 3333011013 bytes, 6509788 media blocks.
x XXXXXX_2010_(04_DE_18).ixf, 3333736111 bytes, 6511204 media blocks.
x XXXXXX_2010_(05_DE_18).ixf, 3334566987 bytes, 6512827 media blocks.
x XXXXXX_2010_(06_DE_18).ixf, 3337121603 bytes, 6517816 media blocks.
x XXXXXX_2010_(07_DE_18).ixf, 3337513971 bytes, 6518582 media blocks.
x XXXXXX_2010_(08_DE_18).ixf, 3328973123 bytes, 6501901 media blocks.
x XXXXXX_2010_(09_DE_18).ixf, 3334063701 bytes, 6511844 media blocks.
x XXXXXX_2010_(10_DE_18).ixf, 3335218451 bytes, 6514099 media blocks.
x XXXXXX_2010_(11_DE_18).ixf, 3331873971 bytes, 6507567 media blocks.
x XXXXXX_2010_(12_DE_18).ixf, 3334541827 bytes, 6512778 media blocks.
x XXXXXX_2010_(13_DE_18).ixf, 3332942517 bytes, 6509654 media blocks.
x XXXXXX_2010_(14_DE_18).ixf, 3331884697 bytes, 6507588 media blocks.
x XXXXXX_2010_(15_DE_18).ixf, 3333606563 bytes, 6510951 media blocks.
x XXXXXX_2010_(16_DE_18).ixf, 3334032011 bytes, 6511782 media blocks.
x XXXXXX_2010_(17_DE_18).ixf, 3331097623 bytes, 6506051 media blocks.
x XXXXXX_2010_(18_DE_18).ixf, 1834347561 bytes, 3582711 media blocks.

Somebody can explain me because the generate eighteen file.

greetings.

Last edited by joeyg; 02-19-2013 at 01:31 PM.. Reason: Please wrap commands and data with CodeTags
# 2  
Old 02-19-2013
'because the generate'? I don't think that translated, come again?

Did tar work or not?
# 3  
Old 02-19-2013
The tar works, what does not understand is that the tar-xvf eighteen results in the file

Greetings.
# 4  
Old 02-19-2013
Because tar is an archive? (tar=tape archive)
Code:
tar tf XXXXXX_2010.tar

lists the files in the archive. 18 files in your case.
Code:
tar xf XXXXXX_2010.tar

extracts them. An extra v option is verbose.

Another (compressed) archive is zip.
Code:
unzip -l archive.zip

lists the files in the archive.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX command to check if file name ends with .tar OR if the file is a tar file

Hello Team, Would you please help me with a UNIX command that would check if file is a tar file. if we dont have that , can you help me with UNIX command that would check if file ends with .tar Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies

2. Solaris

ZCAT xxx.Z|tar -xvf - decompression slow ?

I have recently built a new server and patched Soalris 10 up tp latest bundle etc... When I run a decompress using the format zcat fred.Z |tar -xvf - it runs at a very slow rate. A similiar server which is less powerful runs over twice as quick. Is there any work arounds to configure decompress... (4 Replies)
Discussion started by: smcart
4 Replies

3. UNIX for Dummies Questions & Answers

Do I need to extract the entire tar file to confirm the tar folder is fine?

I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it. Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem? tar tvf file1.tar ... (1 Reply)
Discussion started by: vivien_chu
1 Replies

4. UNIX for Dummies Questions & Answers

tar xvf to a different directory?

Hi all, I have a tar file that was done with tar -cvf <tar_file> /directory. Is there any way that I can untar this, i.e. tar -xvf <tar_file> into a different directory? So far Google said you can't do tar -xvf to a different directory. Unfortunately, am not the one doing the tar -cvf... (9 Replies)
Discussion started by: newbie_01
9 Replies

5. Shell Programming and Scripting

I look help in tar xvf

Dears, I have copied one compressed file from one directory to another directory say finame.txt.tar.gz copied from FirstDirectory to SecondDirecory cd FirstDirectory / cp finame.txt.tar.gz SecondDirecory cd SecondDirecory/ once i do gunzip to finame.txt.tar.gz it, the file got... (4 Replies)
Discussion started by: faiz
4 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. AIX

tar -xvf doesnt work

Hello Im trying to extract this file tar -xvf opt-samba-base.tar.tar tar: 0511-169 A directory checksum error on media; 0 not equal to 75420. but I get that message I tried algo with gunzip and uncompress but nothing happens gunzip -d opt-samba-base.tar.tar gunzip:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

8. Solaris

tar -xvf is showing error

Hi, When i am trying to untar a file for installation its showing an error like tar -xvf te_agent__sparc.en_tar.gz tar: directory checksum error Please help me to solve this issue........... (10 Replies)
Discussion started by: Renjesh
10 Replies

9. UNIX for Advanced & Expert Users

'tar -xvf' command filled up /dev/root

On a newly configured hp unix server, I got the following error while I was trying to untar a file: tar -xvf 9201rdbms.tar .... /htc_ora_prod/stage9.2.0_64bit/Disk2/stage/Components/oracle.rdbms.seeddb.compoltp/9.2.0.1.0/1/DataFiles/Expanded/seed/templates/Transaction_Processing.dfj, 174282115... (2 Replies)
Discussion started by: YuChing
2 Replies
Login or Register to Ask a Question