Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!mrspoc!itkin From: itkin@mrspoc.Transact.COM (Steven M. List) Newsgroups: comp.unix.xenix Subject: Re: Using Tar Message-ID: <1990Aug31.203314.27676@mrspoc.Transact.COM> Date: 31 Aug 90 20:33:14 GMT References: <1990Aug30.202639.26547@agate.berkeley.edu> Reply-To: itkin@guinan.Transact.COM Organization: Transact Software, Inc., Los Altos, CA Lines: 29 swade@sandstorm.Berkeley.EDU (Wade Shen) writes: >I have a tar file that is too big to be extracted onto my HD... How would >i go about untaring it. I have enough space for the untared files but not >for the tar and the extracted files... I have a tape drive and have tried >to use it to tar the tar files and then extract it and pipe it to another >tar: > tar -xvf /dev/rct0 | tar -xvf emacs.tar > This doesn't work either... Can anyone help? If I understand correctly, the problem is to extract the files but without doubling disk requirements. Why would one use two tar commands in this instance? It sounds as though Wade is TARring the TAR file onto tape first. If this is so, then try, instead, writing the tar file onto the tape with DD. Depending on the block size in the TAR file (default is 1 block - 512 bytes - according to the manual), the commands would be this: dd if=emacs.tar of=/dev/rct0 bs=1b #rm emacs.tar tar -xvf /dev/rct0 I'd think that would do it. Can anyone else think of something that I'm missing here? -- +----------------------------------------------------------------------------+ : Steven List @ Transact Software, Inc. :^>~ : : Chairman, Unify User Group of Northern California : : {apple,coherent,limbo,mips,pyramid,ubvax}!itkin@guinan.Transact.COM :