home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 5041 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.7 KB  |  45 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!minyos.xx.rmit.oz.au!dtb
  3. From: dtb@otto.bf.rmit.oz.au (David Bath)
  4. Subject: Re: backup w/ compression for UN*X?
  5. Organization: RMIT Computer Centre, Melbourne Australia.
  6. Date:  3 Sep 92 06:41:23 GMT
  7. Message-ID: <dtb.715502483@otto>
  8. References: <1992Sep3.015437.15379@msuinfo.cl.msu.edu>
  9. Sender: usenet@minyos.xx.rmit.oz.au (Njuiz noveles nova newes)
  10. Lines: 33
  11.  
  12. paoletti@cps.msu.edu (David R. Paoletti) writes:
  13.  
  14. >Does anyone know of any software for UN*X, 386BSD or otherwise,
  15. >that does on-the-fly compression?  Thinking of looking into
  16. >writing my own, or getting some 386BSD people together to help,
  17. >as soon as I get my new machine built with enough HD space to
  18. >re-compile 386BSD...  This would be really nice for people with
  19. >floppies, or even people who want to save on tapes.
  20.  
  21. Essentially use pipes:
  22. cat filelist | cpio -oBcv | compress | dd of=/dev/rmt0
  23.  
  24. (OK so you may need to put some blocking options on dd, but you should
  25. get the idea.)
  26.  
  27. To unarchive:
  28. dd if=/dev/rmt0 | zcat | cpio -iBcdv
  29.  
  30. Remember - very few UNIX commands do everything, but they can be
  31. hooked together easily.  I guess the exception is perl(1) and
  32. probably cpio [-alphabet] :-)
  33.  
  34. Regards
  35. ========================================================================
  36. David T. Bath
  37. email:     dtb@otto.bf.rmit.oz.au
  38. Work:     Global Technology Corporation, Carlton, Vic, OZ  (03) 3477511
  39. =======================================================================
  40. --
  41. ========================================================================
  42. David T. Bath
  43. email:     dtb@otto.bf.rmit.oz.au
  44. Work:     Global Technology Corporation, Carlton, Vic, OZ  (03) 3477511
  45.