3.0.0pre2: non-recursive remote listing breakage

Wayne Davison wayned at samba.org
Sat Oct 13 00:22:05 GMT 2007

On Fri, Oct 12, 2007 at 06:28:01PM -0400, Erik Jan Tromp wrote:
> Looks like pre1's fix broke something else.

That is a known limitation of the removal of a really old kluge in the
listing code.  To quote from the NEWS file:

- Requesting a remote file list without specifying -r (--recursive) now
  sends the -d (--dirs) option to the remote rsync rather than sending
  -r along with an extra exclude of /*/*.  If the remote rsync does not
  understand the -d option (i.e. it is 2.6.3 or older), you will need to
  either turn off -d (--no-d), or specify  -r --exclude='/*/*' manually.


More information about the rsync mailing list