01-22-2013
1) I prefer bzip2 to gzip - seems to work better
2) gzip -t xxx.gz # test gzip file itself
Now, normal tar may not like a file larger than 2G and this may be your issue.
A program I recently learned about is GNU tar - needed it to unpack an archive, and I have packaged it for AIX at
http://dl.aixtools.net/tools/aixtool....1.26.0.0.I.xz
This is stored as an
xz archive, so you will need xz to unpack it, or also load xz for AIX from
http://dl.aixtools.net/tools/aixtool...owerpc.5.0.3.I
p.s. using xz to pack will take longer, but should be smaller.
p.p.s. gtar unpacks as /opt/bin/tar - so to have it as your default - change your PATH variable. Your post mentioned tar.1.14 - so I am guessing both are GNU tar, and mine is a newer version.
Hope this helps (and that I am not breaking any rules by posting to a place where I put things - if so, admins please be nice, I am not intending to break any rules)
10 More Discussions You Might Find Interesting
1. 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
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
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
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
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
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
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
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
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
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)