include-from or files-from

Wayne Davison wayned at samba.org
Thu Oct 28 18:22:47 MDT 2010


On Mon, Oct 25, 2010 at 1:18 AM, ml ml <mliebherr99 at googlemail.com> wrote:

> Why does it not transfer the files recursively?
>

Because your exclude (- *) is not anchored, so it matches the deeper files.
 You can either anchor it (- /*) or specify your prior includes with "**" or
"***" components.  e.g. "+ /path/***" would include both path (+ /path/) and
its contents (+ /path/**).

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101028/5636420d/attachment.html>


More information about the rsync mailing list