>>>>> " " == Dave Dykstra <[EMAIL PROTECTED]> writes:
> In versions 2.3.2 and earlier, rsync had an optimization that I
> put in such that if the end of the list was --exclude '*' and
> the earlier includes didn't have any wildcards, it would skip
> the recursive traversal of the directories and just directly
> open all the included files. Andrew Tridgell, the author of
> rsync, didn't like the fact that it's semantics wasn't exactly
> the same as without the optimization though (it didn't require
> the parent directories to be explicitly included) and he took
> out the optimization in 2.4.0. I asked him if it could be put
> back and he asked me to try to pursuade him that it really made
> a significant performance difference. At that I tried to come
> up with some pathologicaly bad cases and finally had to admit
> that for my application I really couldn't show any significant
> performance hit without the optimization. So the optimization
> is gone in the 2.4.* series. You might want to try some
> performance measurements in 2.3.2 vs. 2.4.6.
> - Dave Dykstra
Strange, I have
% rsync --version
rsync version 2.4.6 protocol version 24
but giving --exclude '*' and --include-from=.filelist (without
directories) works fine. I don't have any patterns in .filelist
though, just actuall files with full path.
MfG
Goswin