Piping gzip Command using rsync You can pipe data over ssh instead of rsync; however your case will be more complicated. Code: gzip -c file | ssh user@remote.host “cat > destination.gz” source: $link[host] Tags: programming Read Original Source