Rsync compress

$ rsync -z file [user@]host[:dest]

or

$ rsync -az dir [user@]host[:dest]