SUMMARY: How to tar a remote directory structure

Dean Waters (dwaters@RedBrick.COM)
Wed, 30 Apr 1997 14:55:55 -0700

Question: How to tar a remote directory structure

I know I have did this before but can't figure out the syntax. I need all of
/xxx from one machine to another over the ethernet. /xxx is part of a
filessystem, ie not a complete partition. It will be going on a new
partition on the other machine.

Answer:

>
>
>
>cd fromdir; tar cBf - . | rsh remote "(cd todir; tar xBf -)"
>
>
>--
>---
>Mike Rembis 714.513.2060 Mike.Rembis@wwwcasinos.com
>Witty saying ... "Any nitwit can operate a computer. Many do."
>
>