Complex include/excludes with rsync?

Brian Mathis brian.mathis at
Thu Jun 10 17:16:06 MDT 2010

I'm trying to use rsync filters to achieve the following result:

Include /
Exclude /home
Include /home/user1

I've been doing a lot of experimentation and at this point I'm just
staring at the man page.  Rsync filters seem to be complicated, and a
result of that I hope they are also powerful.

How does one achieve this common pattern with rsync?

More information about the rsync mailing list