That doesn't work.
there isn't enough space on the drive to create the tar file.
I need to pipe the tar command into ssh (or whatever)
so the file is created on the remote server.

someone said to use:
tar cvf - | ssh remotehost | dd of=/home/dir/file | tar xvf -

but somehow I don't think that works either.
One clue someone gave me is that you have to setup ssh so it doesn't
prompt for a password. But I don't know how to do that either.

Dan.

At 06:48 PM 12/14/2000 -0800, Olof Liungman wrote:
>I'm used to Sun Solaris and currently I'm booted into Windoze instead of
>Linux, so I may be wrong... but shouldn't the command format be
>
>tar cf - *
>
>i.e., "create tar archive (c) by tar:ing all the files in the current
>directory (*) and send the result to standard output (f -)"? Works on my Sun
>box...
>
>Secondly, ssh doesn't transfer files, does it? So if you should pipe the
>output to anything it should be scp, shouldn't it? Though I'm not certain
>that is the way to do it. My guess is you'd need to write a small shell
>script that tar:s your files, then copies the tar archive to the remote
>machine with scp and finally deletes the archive on the local machine.
>Anyone with a better idea?
>
>Solong,
>
>Olof

Reply via email to