Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!cs.utexas.edu!milano!ncr-sd!ncrlnk!usglnk!pmday_2!steve From: steve@pmday_2.Dayton.NCR.COM (Steve Bridges) Newsgroups: ncr.sys.unix,comp.sys.ncr Subject: Copying from one tape to another tape Keywords: cpio, tar, dd Message-ID: <812@pmday_2.Dayton.NCR.COM> Date: 11 Jan 90 02:43:50 GMT Reply-To: steve@pmday_2.Dayton.NCR.COM (Steve Bridges) Distribution: usa Organization: NCR Corporation - USG Product Marketing (Dayton) Lines: 31 My co-workers and myself are trying to figure something out. The situation is, suppose, I have a tape in cpio format, and want to copy it to another tape (separate drive) using cpio without putting a temporary copy on disk. A possible scenario follows: I have a 150mb tape with some files somebody with another tower wants. They only have a 45mb tape drive, but I have both a 150mb and a 45mb tape drive. I want to copy what is on the 150mb tape to a 45mb tape without putting a copy in disk. So far, I have tried: cpio -idmuvcB < /dev/rtp | cpio -ocvB > /dev/rtp1 It worked, but put a copy of all the files on disk. I tried cpio -ocvB < `cpio -idmuvcB < /dev/rtp` > /dev/rtp1 but it didn't work Would cpio -idmuvcB < /dev/rtp > cpio -ocvB > /dev/rtp1 do what I want without putting a copy on disk? Thanks in advance for any responses. -- Steve Bridges | NCR - USDPG Product Marketing and Support OLS Steve.Bridges@Dayton.NCR.COM | Phone:(513)-445-4182 622-4182 (Voice Plus) ..!ncrlnk!usglnk!pmday_2!steve | AOPA #916233 ..!uunet!ncrlnk!usglnk!pmday_2!steve| PP-ASEL, AMEL