>>>>> "Russell" == Russell Senior <[EMAIL PROTECTED]> writes:

>>>>> "Karl" == Karl M Hegbloom <[EMAIL PROTECTED]> writes:

    Russell>   c) if I am doing this between machines, I can pipe it through ssh
    Russell>      thusly:

    Russell>   tar -C /srcdir -clf - . | ssh targethost 'tar -C /targetdir -xpf 
-'

    Russell>      or

    Russell>   ssh targethost 'tar -C /srcdir -clf - .' | tar -C /targetdir 
-xpf -

 This will be faster, I think...  Am I right?  (I've not time to test right 
now.)

 # tar -C /srcdir/.. -clf - srcdir | ssh targethost 'buffer -m 8m -p 75 | tar 
-C /landingzone -xpf -'

 Note that the buffer is running on the other end.

 If the link is slow, you may want to use the -C option to "ssh", or
 put that in you ~/.ssh/config for that host.

-- 
mailto: (Karl M. Hegbloom) [EMAIL PROTECTED]
http://www.microsharp.com
phone://USA/WA/360-260-2066
jabber: [EMAIL PROTECTED]

Reply via email to