This article was first written in February 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/206).
GZIP="--rsyncable" tar zcvf toto.tar.gz /toto
Why do you need this special option ?
Because if you compress your files before synchronising them with rsync, a very small change in one original file may force rsync to re-transmit the whole compressed tar.gz file, instead of just the changed portion.
The basic reason is that rsync works at the byte level : very roughly, it compares the old copy of the file with the latest source, and transmits every by