Downloading specific files with rsync and make them keeping the original directories structures.

Hongyi Zhao hongyi.zhao at gmail.com
Mon Apr 6 01:07:52 MDT 2015


On Mon, 06 Apr 2015 00:34:37 -0400, Kevin Korb wrote:

> See --relative though it will need a little bit of massaging to avoid
> the debian dir.

Good, thanks a lot.  The following command does the trick:

rsync -vR -P rsync://ftp.cn.debian.org/debian/./dists/Debian7.8/main/
binary-i386/Packages.gz .

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



More information about the rsync mailing list