Xref: utzoo comp.unix.questions:5384 comp.unix.wizards:6354 Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!uw-june!ka From: ka@june.cs.washington.edu (Kenneth Almquist) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: File Transfer SYSV.0 --> BSD4.1 :-( Message-ID: <4108@june.cs.washington.edu> Date: 29 Jan 88 18:32:08 GMT References: <288@mergvax.UUCP> Distribution: na Organization: U of Washington, Computer Science, Seattle Lines: 29 > Does anyone know of any tape utilities that are preferably > multi-volume AND compatible between the two flavors of Unix? One possiblity is to use tar, and write your own programs for handling multiple tapes. Here are some sample shell scripts (untested, but they should give you the idea). ----------------------------------- # twrite - write multiple tapes # usage: tar ... | twrite while test true do echo 'mount next tape and type return:\c' (read line) <&2 dd of=/dev/rmt0 obs=5120 count=6000 done ----------------------------------- # tread - read multiple tapes # usage: tread | tar ... while test true do echo -n 'mount next tape and type return:' >&2 read line dd if=/dev/rmt0 ibs=5120 done ----------------------------------- These programs will keep asking you to mount new tapes indefinitely so you have to hit delete to kill them after the last tape. Kind of grungy, but hey, what do you want for 5 lines of shell script? Kenneth Almquist