Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: backup with compressed cpio files ? Message-ID: <9667@smoke.BRL.MIL> Date: 19 Feb 89 01:41:08 GMT References: <9100001@netmuc> <872@deimos.cis.ksu.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 15 In article <872@deimos.cis.ksu.edu> tar@ksuvax1.cis.ksu.edu (Tim Ramsey) writes: >In article <9100001@netmuc> bothe@netmuc.UUCP writes: >>what i suggest is to save my files with: >1) You can't compress the output from find and pipe that into cpio. Try: > find . -print | compress | cpio -oac > /dev/rmt0 > Note that since cpio isn't writing directly to the tape device, the > "-B" option doesn't do anything. What the hell are you guys talking about?? The output from "find" is a list of pathnames, which must remain readable as "cpio" receives them If you direct "cpio -o"'s output at a magtape, it certainly WILL write directly to it. find . -depth -print | cpio -oc | compress | dd bs=5k > /dev/rmt0