Re: openrsync --exclude patterns?

Claudio Jeker <[email protected]>
Newsgroups gmane.os.openbsd.misc
Message-ID <[email protected]>
On Mon, Jun 08, 2026 at 01:01:47PM -0600, Luke A. Call wrote:
> The openrsync manual page mentions patterns for things like --exclude.
> Is there a reference for those patterns that I could check? Or is it the
> same as rsync?

It should be mostly like rsync. Right now only -, + and ! are supported as
flags and IIRC no modifiers are supported either. The pattern matching rules
should be the same, ?, *, **, char classes [ ], and *** should work.
There are some minor differences when it comes to some interpretation of
bad patterns. See regress/usr.bin/rsync-unit/rmatch_test.c for examples.

So if you have a case where it does not work then please report.
Filters in rsync are very complex (or totally overdesigned).

-- 
:wq Claudio
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.