Operating System - HP-UX
1753962 Members
7588 Online
108811 Solutions
New Discussion юеВ

copy special file in the tape

 
hnlixm
Advisor

copy special file in the tape

how can i copy special file in the tape ?

for example:
tar xvf /dev/rmt/0m/a.tar targetDirctory
4 REPLIES 4
VK2COT
Honored Contributor

Re: copy special file in the tape

Hello,

You did not speccify which HP-UX version you
use and what version of tar(1M).

Simplest method:

# cd targetDirectory

Then, depending on how the tar archive
was made:

# mt -f /dev/rmt/0m rew
# tar xvf /dev/rmt/0m fullpath_to_a.tar

If you are not sure about the fullpath:

# tar tvf /dev/rmt/0m

Cheers,

VK2COT
VK2COT - Dusan Baljevic
hnlixm
Advisor

Re: copy special file in the tape

it works

thanks a lot!

kindly regards!
VK2COT
Honored Contributor

Re: copy special file in the tape

Hello,

God to see it worked :)

Could you kindly assign some points
as appreciation for the help.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
hnlixm
Advisor

Re: copy special file in the tape

tar xvf /dev/rmt/0m (filename in the tape)