*BSD News Article 4437


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!bruce.cs.monash.edu.au!monu6!minyos.xx.rmit.oz.au!dtb
From: dtb@otto.bf.rmit.oz.au (David Bath)
Subject: Re: backup w/ compression for UN*X?
Organization: RMIT Computer Centre, Melbourne Australia.
Date:  3 Sep 92 06:41:23 GMT
Message-ID: <dtb.715502483@otto>
References: <1992Sep3.015437.15379@msuinfo.cl.msu.edu>
Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
Lines: 33

paoletti@cps.msu.edu (David R. Paoletti) writes:

>Does anyone know of any software for UN*X, 386BSD or otherwise,
>that does on-the-fly compression?  Thinking of looking into
>writing my own, or getting some 386BSD people together to help,
>as soon as I get my new machine built with enough HD space to
>re-compile 386BSD...  This would be really nice for people with
>floppies, or even people who want to save on tapes.

Essentially use pipes:
cat filelist | cpio -oBcv | compress | dd of=/dev/rmt0

(OK so you may need to put some blocking options on dd, but you should
get the idea.)

To unarchive:
dd if=/dev/rmt0 | zcat | cpio -iBcdv

Remember - very few UNIX commands do everything, but they can be
hooked together easily.  I guess the exception is perl(1) and
probably cpio [-alphabet] :-)

Regards
========================================================================
David T. Bath
email: 	dtb@otto.bf.rmit.oz.au
Work: 	Global Technology Corporation, Carlton, Vic, OZ  (03) 3477511
=======================================================================
--
========================================================================
David T. Bath
email: 	dtb@otto.bf.rmit.oz.au
Work: 	Global Technology Corporation, Carlton, Vic, OZ  (03) 3477511