On Fri, 20 Jan 2017 18:15:00 -0500, Kevin Korb wrote:
An include only overrides an exclude that follows it.  So, you would
need something like this:

+ */
+ openSUSE_13.2/***
- *

Then add --prune-empty-dirs to your rsync command line. I left off the initial ** because it doesn't really mean anything unless openSUSE_13.2
isn't always the entire directory name in which case 1 * would do.

Another way to explain it is that by default everything is included. An exclude rule makes exceptions. An include rule makes exceptions to the
exclude rule.

Thank you a lot.
This worked the way I wanted.

Istvan

--
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

Reply via email to