The complicated filter rule used by me worked for one Debian mirror and not for the other.

Hongyi Zhao hongyi.zhao at gmail.com
Tue Apr 14 04:56:07 MDT 2015


Hi all,

I write a complex filter rules as follows:

rsync -amvHPRSB131072 -n --delete --delete-excluded \
-f +_dists/jessie/**binary-all/Packages.gz \
-f +_dists/jessie/Release* \
-f +_dists/jessie/**binary-amd64/Packages.gz \
-f +_dists/jessie/**installer-amd64/*** \
-f +_dists/jessie/**binary-i386/Packages.gz \
-f +_dists/jessie/**installer-i386/*** \
-f +_dists/***/ \
-f -_* ftp.cn.debian.org::debian/

When I run the above commands, it will list the corresponding files that 
will be retrieved corresponding to these rules.

But, when use it to the other debian mirror as follows:

rsync -amvHPRSB131072 -n --delete --delete-excluded \
-f +_dists/jessie/**binary-all/Packages.gz \
-f +_dists/jessie/Release* \
-f +_dists/jessie/**binary-amd64/Packages.gz \
-f +_dists/jessie/**installer-amd64/*** \
-f +_dists/jessie/**binary-i386/Packages.gz \
-f +_dists/jessie/**installer-i386/*** \
-f +_dists/***/ \
-f -_* \
ftp.is.co.za::mirror/ftp.debian.org/ftp.us.debian.org/debian/

This time, it will give nothing.

You can try the above commands for inspecting the things I mentioned 
above.

Could you please give me some hints on this issue?

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.



More information about the rsync mailing list