home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / admin / 6764 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.2 KB  |  43 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!darwin.sura.net!udel!rochester!rocksanne!news
  3. From: cobrin.sbd-e@rx.xerox.com (Steve Cobrin)
  4. Subject: Re: How to move a filesytem?
  5. Message-ID: <1992Dec23.041023.9334@spectrum.xerox.com>
  6. Sender: news@spectrum.xerox.com
  7. Reply-To: cobrin.sbd-e@rx.xerox.com
  8. Organization: Rank Xerox, Welwyn Garden City, UK
  9. References: <1992Dec22.040033.20071@ghost.dsi.unimi.it>
  10. Date: Wed, 23 Dec 1992 04:10:23 GMT
  11. Lines: 30
  12.  
  13.  
  14. In article 20071@ghost.dsi.unimi.it,  serini@ghost.dsi.unimi.it (Piero Serini) writes:
  15. >subbarao@fc.hp.com (Kartik Subbarao) writes:
  16. >
  17. >>># tar cf - . | compress | (cd /usr2 ; uncompress | tar xf - )
  18. >>>
  19. >>>this will be quite long ...
  20. >
  21. >>Of course it will, if you put compress and uncompress there. Why do that?
  22. >
  23. >You are right. No Excuse.
  24. >
  25. >>    -Kartik
  26. >Piero
  27.  
  28.  
  29. compression is really best used if there's some transfer across a network 
  30. involved, eg.
  31.  
  32. host0# rsh host1 "cd /dir0; tar cf - dir | compress" | \
  33. rsh host2 "cd /dir1; uncompress | tar xpfB -"
  34.  
  35. which copies directory host1:/dir0/dir to host2:/dir1/dir from a trusted host host0
  36.  
  37. the compression can substantially reduce the elepsed time of the transfer
  38.  
  39. Regards
  40.     Steve
  41.  
  42.  
  43.