In <CAN0CFw1Q-z4oBLTuYfTS-a37ZzLb8=cwofnpfsgqxt7q1pn...@mail.gmail.com>,
on 07/03/13
   at 02:55 AM, Grant <emailgr...@gmail.com> said:

Hi Grant,

>Is there a rule I can apply to figure out the proper order for includes
>and excludes?

Rules are evaluated in the order they are defined.  The first rule with a
pattern that that matches is the rule that applies.

If you are a C programmer, think of it as the standard shortcut logical or
(i.e. ||).  Evaluation stops at the pattern that evaluates to true.

If you really want to use rsync effectively, it will be worthwhile to
fully understand the "FILTER RULES" and "INCLUDE/EXCLUDE PATTERN RULES"
sections of the man page.

The answers to your questions are there, but there's enough content that
it can take a could of reads to get a feel for the developers way of
thinking.

Steven

-- 
----------------------------------------------------------------------
"Steven Levine" <stev...@earthlink.net>  eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------

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