You can utilise a fifo.

mkfifo whatever.fifo
someprocess > whatever.fifo &
scp whatever.fifo [EMAIL PROTECTED]:path

Crispin

On Sat, 2003-08-30 at 15:47, 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
> > 
> > 
> > 
> > 
> > -- 
> > Bill Moseley
> > [EMAIL PROTECTED]
> > 
> This is what I use in such cases:
> 
> mutt ... | ssh [EMAIL PROTECTED] 'cat > /folder/archive.tar.gz'
> 
> It works.
> 
> Sincerely,
> 
> Jan.
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to