Quote:
Originally Posted by jomen
man tar (?)
tar -xvf csp0203.tar -C /SAN_C2D/csp_bakup/
|
If I remember well there is no -C option in the Solaris 5.8 version of tar. Anyway, if the GNU version of tar is available, the -C option can be used. Try
to verify. Otherwise, just move the archive to /SAN_C2D/csp_bakup/ and extract from there.
The reason why the command didn't work is that if you do
Code:
tar xvf csp0203.tar /SAN_C2D/csp_bakup
you're trying to extract the file or directory /SAN_C2D/csp_bakup from the archive. Since most likely it didn't exist, the tar command returned nothing. Once you've moved the archive to /SAN_C2D/csp_bakup just do
Code:
tar xvf csp0203.tar