On Tue, 2006-01-24 at 16:18, Mikkel L. Ellertson wrote:
If you just want to
create an archive on the remote machine, then use:
tar -cf - <some files> | ssh <remote machine> "tar -cf
<archive>"
You don't need tar on the other end - you just want to save
the output to a file:
tar -cf - . | ssh remote_machine 'cat >/path/to/file.tar'
(sends the current directory)
Don't forget to quote the command or the > redirection would
happen locally.
--
Les Mikesell
lesmikesell(a)gmail.com