Two same rsync commands give different results on two debian mirrors.
Paul Slootman
paul+rsync at wurtel.net
Tue Apr 14 01:32:10 MDT 2015
On Tue 14 Apr 2015, Hongyi Zhao wrote:
>
> See the following commands:
>
> ___________________________
>
> $ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/
> ftp.us.debian.org/debian
>
> [snipped]
>
> receiving file list ... done
>
> sent 23 bytes received 9 bytes 1.42 bytes/sec
> total size is 0 speedup is 0.00 (DRY RUN)
>
> $ rsync -rmnv -f +_README -f -_* ftp.cn.debian.org::debian
>
> [snipped]
>
> receiving file list ... done
> drwxr-xr-x 4,096 2015/04/14 11:34:19 .
> -rw-rw-r-- 1,370 2015/01/10 18:21:28 README
>
> sent 47 bytes received 1,389 bytes 574.40 bytes/sec
> total size is 1,370 speedup is 0.95 (DRY RUN)
> _________________________
>
> Why the same rsync commands give different results on the above two debian
> mirrors? The first one failed to find anything even the README exists,
> while the second one succeed for the job.
The contents of those locations is entirely different, which becomes
obvious if you simply run:
$ rsync ftp.is.co.za::mirror/ftp.debian.org/
$ rsync ftp.cn.debian.org::debian
If you want the same tree, use
ftp.is.co.za::mirror/ftp.debian.org/ftp.us.debian.org/debian/ for the
first location.
Paul
More information about the rsync
mailing list