Brian
2007-05-30 12:24:56 UTC
Hello
I want to do something like this in the console:
tar cfp - mybackup | ssh ***@host (cd /backups/mybackup; tar xvfp -)
so I want the host to receive the stdout tar output from the client and
untar it, but bash complains about the '(' with:
"syntax error near unexpected token '(' "
Is there a way to do this?
Thanks in advance!
using GNU bash, version 3.1.17(1)
I want to do something like this in the console:
tar cfp - mybackup | ssh ***@host (cd /backups/mybackup; tar xvfp -)
so I want the host to receive the stdout tar output from the client and
untar it, but bash complains about the '(' with:
"syntax error near unexpected token '(' "
Is there a way to do this?
Thanks in advance!
using GNU bash, version 3.1.17(1)
--
thanks, Brian
- reply to newsgroup
thanks, Brian
- reply to newsgroup