Problem with file exclusion pattern

Wayne Davison wayne at
Thu May 5 04:44:29 UTC 2022

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list