Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync with compression

Status
Not open for further replies.

w5000

Technical User
Nov 24, 2010
223
PL

hello,
does it make any sens using -C in ssh command used in rsync? I saw it in a script and want to get meaning of it right.
I tried both:
rsync -az -e "ssh -x" ....
rsync -a -e "ssh -x -C" ....

and -C seems to do no compression for rsync transfer - the same file transferred:

with rsync -z:
Literal data: 76,574,720 bytes
Total bytes received: 17,369,441
sent 79 bytes received [COLOR= #EF2929]17,369,441[/color] bytes 992,544.00 bytes/sec
total size is 76,574,720 speedup is 4.41

with -e "ssh -x -C"
Literal data: 76,574,720 bytes
Total bytes received: 76,593,519
sent 79 bytes received 76,593,519 bytes 2,785,221.75 bytes/sec
total size is 76,574,720 speedup is 1.00


kind regards,
 
-C, --cvs-exclude auto-ignore files in the same way CVS does

The -C option has nothing to do with compression. It is used to exclude files from the backup process accorded to the defined exclusion list.



I.T. where a world of choas and confusion comes down to nothing but 1s and 0s.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top