Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen From: davidsen@steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.unix.questions Subject: Re: backup with compressed cpio files ? Message-ID: <13176@steinmetz.ge.com> Date: 17 Feb 89 19:04:44 GMT References: <9100001@netmuc> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 25 In article <9100001@netmuc> bothe@netmuc.UUCP writes: | | what i suggest is to save my files with: | find . -print | compress | cpio -oacB >/dev/rmt0 Won't work. You want to compress the output of cpio, not the list of files into it. An interesting concept, but no cigar. This should work: find . -print | cpio -oca | compress >/dev/rmt0 Two notes: 1) you may need "dd bs=5k" after compress 2) if you have -depth as an option, use it to reset directory times This works pretty well if you're willing to sacrifice performance for media size. Double compressed files may get larger. Compression size and performance is MUCH better if you can do all of one type of file (C source, text, nroff, COFF) at a time, since the compress algorithm is adaptive and performs better the more you give it of the same type. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me