t****k 发帖数: 1095 | 1 I have a file XXX.tar.Z on a tape, I need to read and extract it to the local
directory. What specific parameters should I use? Thanks! | p*********r 发帖数: 23 | 2 man tar
local
【在 t****k 的大作中提到】 : I have a file XXX.tar.Z on a tape, I need to read and extract it to the local : directory. What specific parameters should I use? Thanks!
| a*********a 发帖数: 22 | 3 First, you need to know the device name of the tape drive. For me, I use
a SCSI tape drive, so the name is /dev/st0 (or /dev/nst0 for nonrewind).
so, to read the file, just need to do:
tar xzvf /dev/st0
【在 t****k 的大作中提到】 : I have a file XXX.tar.Z on a tape, I need to read and extract it to the local : directory. What specific parameters should I use? Thanks!
|
|