Sponsored Content
Operating Systems AIX Gunzip tar A directory checksum error on media Post 302758743 by bakunin on Sunday 20th of January 2013 05:51:30 PM
Old 01-20-2013
Quote:
Originally Posted by filosophizer
Code:
# gunzip < /ebs2/test4.tar.gz | tar -xvf -

You might want to use this to unpack:

Code:
gzip -cd /path/to/file.tar.gz | tar -xf -

Be sure to make the root directory of the restore your PWD before, because "tar" will unpack in the current directory if you tarred with relative paths (as is advised).

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Solaris

Combination of gunzip and tar on Solaris

Hello I'm trying to use a combination of gunzip and tar to unpack and unzip a *.tar.gz file. I tried gunzip ~/myfile.tar.gz | gtar -x This will unzip the file, but it won't unpack. Any hints? thanks a lot Dan (5 Replies)
Discussion started by: dwidmer
5 Replies

2. Shell Programming and Scripting

Tar and gunzip piping

I am using IRIX 6.5.11 and tcsh. I have created an arcihive by using the command "tar -cvf - /stuff/ /more/stuff|gzip --best>/stuff.tar.gz" It made an archive of my files without taking up huge amounts of disk space with uncompressed files. How do I extract files from the archive without... (2 Replies)
Discussion started by: madyodacolon
2 Replies

3. UNIX for Dummies Questions & Answers

directory checksum error

Display warnning:directory checksum error in the end of Decompress the bag (0 Replies)
Discussion started by: renrongwen
0 Replies

4. Filesystems, Disks and Memory

Directory is Same but Checksum is different

Hello, I am performing a checksum on our software we have installed on a unix solaris 2.0 os. If the checksum generated report is not the same as a 'Gold' report we have on disk. Then our software is deleted, and reinstalled. The problem I am having is if you run the program again, the... (3 Replies)
Discussion started by: JustinPyfrom
3 Replies

5. Shell Programming and Scripting

Retaining tar.gz after gunzip

gunzip fnam.tar.gz After this command execution... .gz file no longer exists... and only fnam.tar is present. Is it possible to retain the tar.gz file after after using the above command thx in advance. (4 Replies)
Discussion started by: devs
4 Replies

6. UNIX for Dummies Questions & Answers

directory checksum error

Hi, I have a tar file with naed ass bcs.tar.gz downlaoded to my work station and It contains all the .c files and .o which i needed. when i am trying to unzip this one i am facing directory checksum error. What does it mean.How to resolve this. I tried with tar -xf and tar -tvf... (2 Replies)
Discussion started by: jagan_kalluri
2 Replies

7. Shell Programming and Scripting

Elegant gunzip of tar Contents

I am faced with a situation where I have directories of gunzipped contents bundled into a tar file. It might look something like this. x coop/batch/bin/ha90x20.gz, 632641 bytes, 1236 tape blocks x coop/batch/icm/HA90X20.icm.gz, 1821 bytes, 4 tape blocks x coop/batch/aeenv.gz, 4117 bytes, 9 tape... (2 Replies)
Discussion started by: scotbuff
2 Replies

8. Shell Programming and Scripting

"directory checksum error" when attempting to install tcl

OS: HP-UX Programs I want to install: expect and tcl I'm lost. I bought the book. I began reading the book. I want to install expect. I've been able to download the .z, and extract it successfully. But, of course, it apparently needs tcl and possibly tk also, and ... I... (0 Replies)
Discussion started by: instant000
0 Replies

9. UNIX for Dummies Questions & Answers

gunzip - Directory size

Hello, Directory name : FIRST ( 28 files - directory size 27043 Mo ) Here is what I ve done : tar cvf FIRST.tar FIRST Then gzip FIRST.tar So far evrything's fine then, I've used GUNZIP and extract the TAR. I used DIFF to check if there is no difference between files (extrat Vs... (1 Reply)
Discussion started by: Aswex
1 Replies

10. UNIX for Dummies Questions & Answers

Gunzip and tar command

Hi I wanted to tar and gunzip a file named backup tar: backup.tar: Wrote only 2244 of 10240 bytes tar: Error is not recoverable: exiting now Please tell me what I am doing wrong? Please do help. (4 Replies)
Discussion started by: sonia102
4 Replies
tar(4)							     Kernel Interfaces Manual							    tar(4)

NAME
tar - format of tar tape archive DESCRIPTION
The header structure produced by (see tar(1)) is as follows (the array size defined by the constants is shown on the right): All characters are represented in ASCII. There is no padding used in the header block; all fields are contiguous. The fields magic, uname, and gname are null-terminated character strings. The fields name, linkname, and prefix are null-terminated char- acter strings except when all characters in the array contain non-null characters, including the last character. The version field is two bytes containing the characters (zero-zero). The typeflag contains a single character. All other fields are leading-zero-filled octal numbers in ASCII. Each numeric field is terminated by one or more space or null characters. The name and the prefix fields produce the pathname of the file. The hierarchical relationship of the file is retained by specifying the pathname as a path prefix, with a slash character and filename as the suffix. If the prefix contains non-null characters, prefix, a slash character, and name are concatenated without modification or addition of new characters to produce a new pathname. In this manner, path- names of at most 256 characters can be supported. If a pathname does not fit in the space provided, the format-creating utility notifies the user of the error, and no attempt is made to store any part of the file, header, or data on the medium. SEE ALSO
tar(1) STANDARDS CONFORMANCE
tar(4)
All times are GMT -4. The time now is 10:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy