I’m using rsync to copy files between servers, I’m using -z
option what compresses data only for the network transfer stage.
But I would like to leave compressed files on remote machine and I have not found this option in rsync.
Is this possible ?
No, it is not possible. You’ll need to compress the data either before or after you transfer it.
Check more discussion of this question.