Re: Problem with file exclusion pattern

Wayne Davison via rsync <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <CAHSx_SsRbwSWvjb87rpg4enAuAjApDdkGfvQaWDCnN-Y=pAYKw@mail.gmail.com>
On Tue, May 3, 2022 at 7:35 AM H wrote:

> However, would I not still need --include='*/'  since I want it to
> recourse into all subdirectories?
>

Only if you could have a directory that matches the lock name and you
didn't want to exclude it. The default is to include a file/dir unless
something excludes it. So you only need an include if you need to make an
exception to an exclude rule that comes after it.

..wayne..

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.