On Sat, Aug 30, 2003 at 09:47:37AM +0200, Neo wrote:
> On Sat, 2003-08-30 at 07:17

, [EMAIL PROTECTED] wrote:
> > I wanted to send an attachement directly from mutt to another machine.  
> > Is there a way to pipe to scp?  So in mutt, select the attachement and 
> > then:
> > 
> >   | scp other.host:some_file.name

> mutt ... | ssh [EMAIL PROTECTED] 'cat > /folder/archive.tar.gz'

Can someone explain that one?  That expects a file named 
"[EMAIL PROTECTED]" if the ":" is missing, IIRC.

This works (and is the difference between trying something late at night 
vs. early in the morning):

mutt |

   cat > file.tmp && scp file.tmp otherhost: && rm file.tmp

But I like the fifo suggestion, too.



-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to