I tried that, I got an error "/dev/fd/0" is not a regular file.

I just stumbled onto:

dd if=/dev/dasda1 | ssh [EMAIL PROTECTED] cat ">>" output.file

Which looks like it should work.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications & Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

> -----Original Message-----
> From: Fargusson.Alan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 04, 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Is there a way to get "scp" to read STDIN?
>
>
> I don't have access to a Linux system to try this, but what
> happens if you do:
>
> dd if=/dev/dasda1 bs=4096 | scp /dev/fd/0 [EMAIL PROTECTED]://dev/tape1
>

Reply via email to