Re: ** ssh to copy/ftp files with compress

  • From: Denis <denis.sun@xxxxxxxxx>
  • To: "Mark W. Farnham" <mwf@xxxxxxxx>, oracle-l@xxxxxxxxxxxxx
  • Date: Thu, 25 Feb 2010 08:39:55 -0800 (PST)

It seems in my Unix (SunOS 5.10) there is no -C option for scp  Never know that 
option before :-)

Yu "Denis" Sun
Oracle DBA




________________________________
From: Mark W. Farnham <mwf@xxxxxxxx>
To: denis.sun@xxxxxxxxx; oracle-l@xxxxxxxxxxxxx
Sent: Thu, February 25, 2010 11:31:43 AM
Subject: RE: ** ssh to copy/ftp files with compress


Is that comparison with or without the –C flag on scp?
 

________________________________

From:oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Denis
Sent: Wednesday, February 24, 2010 11:27 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Re: ** ssh to copy/ftp files with compress
 
I usually find the following (executed at the target server) is able to 
transfer a file much faster than directly scp. However, gzip will consume some 
CPU. 
 
ssh2 source_server 'cat ${FNAME}| gzip -c' | gunzip -c > ${FILELOC}/${FNAME}


      

Other related posts: