Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!mcdphx!udc!smith From: smith@urbana.mcd.mot.com (Bill Smith) Newsgroups: comp.unix.questions Subject: Re: Backups using compress Message-ID: <1439@urbana.mcd.mot.com> Date: 29 Nov 90 19:22:39 GMT References: <25106@adm.brl.mil> Reply-To: smith@urbana.mcd.mot.com (Bill Smith) Organization: Motorola Microcomputer Division, Urbana IL Lines: 22 In article <25106@adm.brl.mil> dpence@redstone-emh2.army.mil ( Dwayne Pence) writes: >Does anyone know of a way to compress files before sending them through >cpio or tar to tape without actually creating a ".Z" file on disk. I am >trying to create backup tapes which are compressed versions of our files >on disk. Any help would be appreciated. > > >Dwayne Pence To write the tape record(s) you ask for, do this: find /usr -print | cpio -ocB | compress -c > /dev/ To extract, do this: uncompress < /dev/ | cpio -icBumd ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Bill Smith, Motorola MCD, Urbana Design Center, Urbana, IL 61801 Email: smith@urbana.mcd.mot.com, uiucuxc!udc!smith Phone: 217 384 8525 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++