Re: scp to pipe
From: Patrick Lapre (patrick_lapre_at_palletways.com)
Date: 09/16/04
- Previous message: David Hutchins: "Re: scp to pipe"
- In reply to: Mauricio Araya V.: "Re: scp to pipe"
- Next in thread: David Hutchins: "Re: scp to pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 16 Sep 2004 09:01:16 +0100 (BST) To: "Mauricio Araya V." <mauricio@hostarica.com>
Hallo!
This would be futile anyway.
There is a reason why the usage of tar and scp.
In reference of below, that should work fine or simply choose for a scp
without the tar e.g
scp -prv /path/to/my-files user@remote-host:~/path/to/
Could somebody explain me the explicit use of the pipe, scp and tar?
Cheers Pat
On Sep 13, 2004 07:30 PM, Mauricio Araya V. <mauricio@hostarica.com>
wrote:
> Hi there!
>
> On Sat, 2004-09-11 at 03:49, hlaguy wrote:
> > How can scp write to a pipe that tar could then process?
>
> Why scp?
>
> It's not all clear fot me, but i think you may want this:
>
> % tar czf - /path/to/my-files | ssh remote-host "cat > my-files.tgz"
> or
> % tar czf - /path/to/my-files | ssh remote-host tar xzf -
>
> Regards,
>
> -Mauricio
- Previous message: David Hutchins: "Re: scp to pipe"
- In reply to: Mauricio Araya V.: "Re: scp to pipe"
- Next in thread: David Hutchins: "Re: scp to pipe"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|