List subdirectories only n level deep on the remote server when use the -a option of rsync.

Hongyi Zhao hongyi.zhao at
Sun Feb 2 01:51:04 MST 2014

Hi all,

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://, and I want to
list all of the stuff in the following subdirectory only to 2 level


Any hints on this?

Hongyi Zhao <hongyi.zhao at>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493

More information about the rsync mailing list