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

From: Denis <denis.sun_at_yahoo.com>
Date: Wed, 24 Feb 2010 20:27:24 -0800 (PST)
Message-ID: <463535.73545.qm_at_web57202.mail.re3.yahoo.com>



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} Yu "Denis" Sun Oracle DBA -----Original Message----- From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of A Joshi Sent: Wednesday, February 24, 2010 1:38 AM To: oracle-l_at_freelists.org Subject: ** ssh to copy/ftp files with compress hi,   can someone give example for ssh to copy/ftp files with compress across servers. i did find some eg on net scp [-Cr] /some/file [ more ... ] host.name:/destination/file and -C is for compress - will this use compress? is there a way to use gzip and tell degree of compress. any other suggestion.our network is very slow. thanks. 
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 24 2010 - 22:27:24 CST

Original text of this message