[CentOS] tar - ssh - standard out

Jerry Franz jfranz at freerun.com
Thu Aug 12 13:05:25 UTC 2010


On 08/12/2010 05:33 AM, Les Mikesell wrote:
> Why do you need any other process involved to work with a data stream?  If you
> want to collect it to a remote file, you can  | ssh remotehost 'cat>
> path_to_file'.  Just be sure to quote the redirection so it happens on the
> remote side.
>
>    

At a guess it's the compression he is after. Over a slow link it could 
make a substantial difference.

-- 
Benjamin Franz



More information about the CentOS mailing list