On Sun 02 Feb 2014, Hongyi Zhao wrote:
> 
> I want to list the contents on the remote rsync server only to n, say,
> 2 level deep.
> 
> In my case the the server is rsync://ftp.cn.debian.org, and I want to
> list all of the stuff in the following subdirectory only to 2 level
> deep:
> 
> rsync://ftp.cn.debian.org/debian
> 
> Any hints on this?

rsync -a --exclude '/*/*/*/***' rsync://ftp.cn.debian.org/debian


Paul
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to