Operating System - Tru64 Unix
1829187 Members
17074 Online
109986 Solutions
New Discussion

Unix pacth unzip problem

 
Ravikant Bhagat
Occasional Advisor

Unix pacth unzip problem

Hi,
We have unix patch in the form of June2006.tar.gz format
We are doing follwoing process to unzip it
# gunzip June2006.tar.gz
# tar -xvf June2006.tar
After this command we are getting the follwoing error.which is attached in the attachement.
It is creating the dir as "June 2006"
but when we are accing the dir we are getting following error:
DRXAP301:/test/patch_31072006# cd June 2006
sh: cd: The specified substitution is not valid for this command.

Please also find the attachement for more errors.

Ravikant.


1 REPLY 1
Steven Schweda
Honored Contributor

Re: Unix pacth unzip problem

1. Output which does not show the commands
used is often less helpful than output which
does show the commands used.

"accing the dir" how? Are you quoting the
directory name with the embedded space
("June 2006" or 'June 2006')?

2. "directory checksum error" from "tar" is
not good. Do you have the whole file?

3. "@LongLink" suggests that you may need to
use GNU "tar" instead of the normal Tru64
"tar".

4. You might save some time and/or disk
space by using a pipeline, such as:

gzcat June2006.tar.gz | tar -xvf -