Re: [gentoo-user] directing STDOUT over ssh

2004-02-05 Thread Renat Golubchyk
On Thursday 05 February 2004 23:26, gabriel wrote: > you know how you can pipe the output of one command into a file with > ">"? > > $ find . > file.txt > > is there a way to pipe it into a file over ssh? something like this? > > $ find . > ssh [EMAIL PROTECTED]:/path/to/file > > obviously, th

Re: [gentoo-user] directing STDOUT over ssh

2004-02-05 Thread gabriel
On February 5, 2004 05:34 pm, Diego Zamboni wrote: > > is there a way to pipe it into a file over ssh? something like this? > > > > $ find . > ssh [EMAIL PROTECTED]:/path/to/file > > find . | ssh [EMAIL PROTECTED] 'cat > /path/to/file' > > The whole command, including the redirection, must be in

Re: [gentoo-user] directing STDOUT over ssh

2004-02-05 Thread Diego Zamboni
is there a way to pipe it into a file over ssh? something like this? $ find . > ssh [EMAIL PROTECTED]:/path/to/file find . | ssh [EMAIL PROTECTED] 'cat > /path/to/file' The whole command, including the redirection, must be inside quotes, for it to be interpreted at the remote machine. --Dieg

[gentoo-user] directing STDOUT over ssh

2004-02-05 Thread gabriel
you know how you can pipe the output of one command into a file with ">"? $ find . > file.txt is there a way to pipe it into a file over ssh? something like this? $ find . > ssh [EMAIL PROTECTED]:/path/to/file obviously, this doesn't work, but i'd like to know if there's a way to make it