Hi Nate,
Of course he could have also just piped tar though ssh too... into a tar on the opposite side. This works fine to move a few files too.
Interesting ......
<snipped examples of the question of how to do it...>
There's a number of ways it can be done, here's one example:
machineA$ tar cf - files | ssh machineB "tar xf -"
You may need to cd to the appropriate directory before the untar, of course, on the far side.
A quick google turned up this page, which seems to have a couple of neat tricks... like using two machines to ssh through... good if there's a firewall in the way, etc... hadn't thought about that one, but it'd work too.
http://www.unixtips.org/
I found this old LJ article in an old bookmark file here too...
http://www.linuxjournal.com/article.php?sid=6602
Have fun, it's a neat trick that you can think up all sorts of interesting uses for once you figure out that ssh makes for a decent machine to machine pipe.
Nate, [EMAIL PROTECTED]
-- [EMAIL PROTECTED] mailing list