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
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
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
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